LicenseManager
The LicenseManager class provides a set of APIs to manage SDK licensing.
Definition
Namespace: Dynamsoft.License.Maui
Assembly: Dynamsoft.License.Maui
class LicenseManager
Methods
| Method | Description |
|---|---|
InitLicense |
Initializes the license for the application using a license key. This function is overloaded, providing two different usages based on the provided parameters. |
SetDeviceFriendlyName |
Assigns a distinctive name to the device, correlating it with its UUID. |
GetDeviceUUID |
Returns the unique identifier of the device. |
InitLicense
Initializes the license for the application using a license key. This function is overloaded, providing two different usages based on the provided parameters.
static void InitLicense(string license, ILicenseVerificationListener listener);
Parameters
[in] license: The license key to be used for initialization.
[in] listener: A listener object of ILicenseVerificationListener to monitor the license activation status.
SetDeviceFriendlyName
Assigns a distinctive name to the device, correlating it with its UUID.
static void SetDeviceFriendlyName(string name);
Parameters
[in] name: The name of the device.
GetDeviceUUID
Returns the unique identifier (UUID) of the device.
static string GetDeviceUUID();
Return Value
The device UUID.