> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/api-reference/.net-api/qlmlicense/client-side-methods/validatefile.md).

# ValidateFile

### Description

Validates that the QLM DLL is authentic and was not tampered with.

```csharp
bool ValidateFile(ref string errorMsg);
```

### Arguments

| Name     | Data Type | Description            |
| -------- | :-------: | ---------------------- |
| errorMsg |   string  | returned error message |

### Return

| Data Type | Description               |
| :-------: | ------------------------- |
|    bool   | true if the file is valid |
