Class LicenseManager
Configures the license used by DRIT.Pdf for operations that require licensing.
Inherited Members
Namespace: DRIT.Pdf.Licensing
Assembly: DRIT.Pdf.dll
Syntax
public static class LicenseManager
Methods
SetLicenseFile(string)
Loads a license file and uses it for subsequent license validation.
Declaration
public static void SetLicenseFile(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to the license file to load. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
| FileNotFoundException | Thrown when the specified file does not exist. |
| UnauthorizedAccessException | Thrown when the file cannot be opened for reading. |