The ILicenseManager interface provides facilities for activating iSpring SDK. This interface can be obtained using IPresentationConverter.LicenseManager property.
Table 1. Properties
Property | Value Type | Access | Property description |
---|
ActivationRequestCode | string | Read only | The field contains a code that can be sent to our Support Department to proceed with offline activation. |
LicenseIsActivated | bool | Read only | True when SDK is activated. |
LicenseKey | string | Read/Write | The license key is received post-purchase. |
LicenseType | LicenseTypeEnum | Read only | The license type is dependent upon the key. |
LicenseActivationCode | string | Read/Write | The value for this property should be the offline activation code received from our Support Department. |
DaysLeft | long | Read only | The number of days that the trial license will be active. |
Table 2. Methods
Method | Description |
---|
void ActivateLicense() | Activates the license using the provided license key by sending a request to the activation server; thus, an Internet connection is necessary. |
void DeactivateLicense() | Deactivates a license to allow it to be used on another computer. A request will be sent to the activation server; thus, an Internet connection is necessary. |
void ResetLicenseManager() | Resets changes in the IPresentationConverter.LicenseManager property and restores the current license info. |
Check the example in the iSpring SDK License Activation via COM API article.