The SecureLicense type exposes the following members.

Methods

  NameDescription
Public methodActivate
Activates a license specified by the licenseKey parameter. If the licenseKey parameter's license type is 'ActivationKey', the LicenseServiceURL property must be set.
Public methodDeactivate()()()()
Deactivates the current license on the current system.
Public methodDeactivate(Boolean)
Deactivates the current license on the current system.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetActivationInfo
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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSystemId
Gets a system identifier for the current system using the specified sysIdentifierOptions
Protected methodGetSystemIdentifierParts
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.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsFlagEnabled
Checks if a flag is enabled for the specified flagIndex.
Public methodLoad
Loads a license from the specified license store (LicenseFilePath, RegistryKey + RegistryValueName or IsolatedStorageScope + IsolatedStoragePath).
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Saves a license into the specified license store (LicenseFilePath, RegistryKey + RegistryValueName or IsolatedStorageScope + IsolatedStoragePath).
Protected methodSaveActivationInfo
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also