C-DEngine 5.105

TheLicense Members

The TheLicense type exposes the following members.

Constructors


  Name Description
Public method TheLicense()()()()
Default constructor.
Public method TheLicense(TheLicense)
Copy constructor

Methods


  Name Description
Public method AddSignature
Adds a signature to the license.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member GetAdditionalSigningKeyString
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString
License representation, to be used only for development/diagnostics
Public method ValidateSignature
Validates the signatures of license using the public keys of the signer

Fields


  Name Description
Public field ActivationKeyValidator
The public keys (base64 encoded) of additional signatures required on the license and the activation keys used to unlock the license.
Public field CDEVersion
Version of the C-DEngine for which this license is valid. If not specified, valid on any C-DEngine version, unless CDEVersionMin is specified.
Public field CDEVersionMin
Minimum Version of the C-DEngine for which this license is valid. If not specified or empty: valid on any C-DEngine version or only on the version specified by CDEVersion.
Public field Description
Human readable description of the license
Public field Expiration
Expiration date of this license.
Public field LicenseId
Identified of the license.
Public field LicenseVersion
Version of the license. Used to supercede old version of the license on a system. Only the highest version takes effect.
Public field Parameters
Numeric parameters that can be used to limit functionality in a plug-in, and that can be increased in activation keys. An activation key can contain at most 9 parameters.
Public field PluginLicenses
The plug-ins to which the license applies.
Public field Properties
Name/Value pairs that can be read by a plug-in to modify it's behavior, i.e. only allow access to a specific URL or kind of URL.
Public field Signatures
One or more signatures that are used validate the license and prevent tampering. Signatures are RSA SHA1 hashes, base 64 encoded.
Public field SkuId
A 16 bit integer, used to identify this license in activation request keys. Typically a SkuId will map to exactly one license, but it is possible for a SKU to consist of multiple licenses.