The SecureLicense type exposes the following members.
Methods
Name | Description | |
---|---|---|
Activate |
Activates a license specified by the licenseKey parameter.
If the licenseKey parameter's license type is 'ActivationKey', the LicenseServiceURL property must be set.
| |
Deactivate()()()() |
Deactivates the current license on the current system.
| |
Deactivate(Boolean) |
Deactivates the current license on the current system.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetActivationInfo |
Gets activation information associated with the current license.
This activation information is created when activating or unlocking a license key is passed to the SaveActivationInfo(String, array<Byte>[]()[][]) method.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSystemId |
Gets a system identifier for the current system using the specified sysIdentifierOptions
| |
GetSystemIdentifierParts |
Gets a list of bytes that represent the system identifiers that are used to generate the system id.
Override this method to use your own system identifier instead of the default one that is provided by the SecureLicense class.
If you override this method, there should at least be one item in they byte array list that is returned. If the byte array list
contains more than eight items, all the items after the eighth item will be ignored. The byte array values that are returned
must be the same for the same machine/system so that the license validation will return the same result upon subsequent license validation.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
IsFlagEnabled |
Checks if a flag is enabled for the specified flagIndex.
| |
Load |
Loads a license from the specified license store (LicenseFilePath, RegistryKey + RegistryValueName or IsolatedStorageScope + IsolatedStoragePath).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Saves a license into the specified license store (LicenseFilePath, RegistryKey + RegistryValueName or IsolatedStorageScope + IsolatedStoragePath).
| |
SaveActivationInfo |
Saves activation information associated with the current license.
This activation information is created when activating or unlocking a license key is passed to the SaveActivationInfo(String, array<Byte>[]()[][]) method.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |