Class LicenseManager
License manager for handling license file paths and generating request keys.
Inherited Members
Namespace: ZLab.Discrete.Licensing
Assembly: ZLab.Discrete.dll
Syntax
public static class LicenseManager
Properties
| Name | Description |
|---|---|
| IsPathValid | Gets a value indicating whether the license path has been set and the file exists. |
Methods
| Name | Description |
|---|---|
| GetRequestKey(string?, string?) | Generates a request key. |
| ReValidateLicenseFile(string?) | Re-validates the license file at the specified path or the previously set path if none is provided. |
| ReValidateToken(string, out Exception?) | Re-validates license. |
| SetLicensePath(string) | Sets the path to the license file. |
| TryGetStatus(out LicenseInfo?, out Exception?) | Try to get the current license status. |
| WriteLicenseFile(string, string) | Writes the provided license token to a file at the specified path. |