LicenseFile Members
The LicenseFile type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
When overridden in a derived class, disposes of the resources used by the license.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCustomFieldValue |
Returns the value for an item set in the CustomData that matches the entered
key. If the CustomData has not yet been set then a null exception will be thrown.
Also if the passed in String is empty an argument
exception is thrown.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadFile(Stream, RSACryptoServiceProvider, Boolean) |
Loads the specified file to create an LicenseFile
|
|
LoadFile(Stream, RSACryptoServiceProvider) |
Loads the specified file to create an LicenseFile and checks the digital signature
|
|
LoadFile(FileInfo, RSACryptoServiceProvider, Boolean) |
Loads the specified file to create a LicenseFile.
|
|
MemberwiseClone | (Inherited from Object.) | |
ResetCreationStatistics |
Resets the date information of this license. This includes the Creation,
Modification, and First Use dates. It also includes changing the Statistics
DateTimeLastAccessed since this is for User Access info not creator.
|
|
SaveFile(Stream, RSA) |
Saves the license to the specified path using the provided Stream by the
stream parameter.
|
|
ToString |
Returns a String that represents the current LicenseFile.
This currently just returns the product full name.
|
|
ToXmlSignedXmlDocument()()()() |
Converts this LicenseFile to a XmlDocument containing the license.
|
|
UpgradeLicense(Stream) |
Upgrades the license.
|
|
UpgradeLicense(String) |
Upgrades the license
|
|
ValidateLicense |
Validate this license against the defined IConstraints in the
Constraints List (System.Collections.Generic.List).
|
Properties
Name | Description | |
---|---|---|
Constraints |
Gets or Sets the Constraints List (System.Collections.Generic.List) for this license.
|
|
CreationDate |
Gets the DateTime this license was created.
|
|
CustomData |
Gets or Sets the CustomData for this license.
|
|
FailureReason |
Gets or Sets the reason a failure occurred. This is an empty
String if no error occurred.
|
|
FirstUsesDate |
Gets the DateTime this license was first used.
|
|
HardwareKeyToken |
Gets or sets the hardware key token.
this HardwareKeyToken is based on the information int the license
|
|
HardwareKeyTokenBasedOnDevice |
HardwareKeyToken Based On Device data (Processor ID and Motherboard device ID)
|
|
InstallationInstanceGUID |
Gets the license key (XML string representing the license) granted for this license.
|
|
IsDirty |
Gets if this license was modified since it was last saved.
|
|
IsReadOnly |
Gets or Sets if this license can only be read and not modified.
|
|
Issuer |
Gets or Sets the Issuer object for this license.
|
|
LicenseKey |
This will generate the Hash key based upon the current installation instance GUID.
|
|
LicenseKeyToken | ||
LicenseUID |
The license unique identifier
|
|
LicModificationUID |
The license unique identifier used to upgrade this license.
|
|
ModificationDate |
Gets the DateTime this license was last modified.
|
|
Product |
Gets or Sets the Product object declared for this license.
|
|
RunTimeConstrain |
"Limits the runtime of the program in hours."
|
|
Statistics |
Gets or Sets the Statistics object for this license.
|
|
User |
Gets or Sets the User object who owns this license.
|
|
VolumeConstrain |
"Constrains number of items licensed program can instantiate, e.g. number of process variables, number of interfaces, etc."
|
|
Warnings |
Gets or sets the wornings.
|