LicenseAlias Class |
Namespace: com.softwarekey.Client.Licensing
The LicenseAlias type exposes the following members.
Name | Description | |
---|---|---|
LicenseAlias | Creates a new LicenseAlias object. |
Name | Description | |
---|---|---|
Contents | Gets the contents of the alias file. | |
LastError | Gets the last error that occurred. | |
LastUpdated | Gets the date the alias was last updated. | |
Location | Gets the location of the alias. | |
Type | Gets the type location in which the alias is stored. |
Name | Description | |
---|---|---|
CheckAlias | Compares the current license to the alias. | |
CheckAlias(String) | Decrypts and verifies the alias document, and checks its last updated date. | |
DeleteAlias | Deletes the current alias. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMostCurrentAlias | Gets the most current alias from a list. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteAlias | Updates the alias with the most current license file data. |
Name | Description | |
---|---|---|
m_lastError | The last error that occurred |
Aliases are simply hidden copies of the License file. Though these may technically exist anywhere you see fit (through custom implementation), currently supported implementations only support use of the file-system and the Windows Registry. The currently supported implementations are listed below:
Name | Description |
---|---|
LicenseFileSystemAlias | Implements file-system based aliases, which are hidden copies of the License File which reside on the system's file-system. |
LicenseWindowsRegistryAlias | Implements Windows Registry based aliases, which are hidden copies of the License File which reside on the system's Registry. |
LicenseImageAlias | Implements Image based aliases, which are hidden copies of the License File which reside within image pixel data. |
Caution |
---|
When aliases are written, this library attempts to write the license file alias to disk, and also attempts to give full permissions everyone access to this file (using WellKnownSidType.WorldSid). This is done to help avoid UAC issues with Windows Vista/2008 and later, and is the same behavior performed by Protection PLUS 4 SDK libraries and Instant Protection PLUS 3. Please see our knowledge-base for additional information. |