Click or drag to resize
LicenseAlias Class
Base, abstract class for implementing License File aliases.
Inheritance Hierarchy

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version:
public abstract class LicenseAlias

The LicenseAlias type exposes the following members.

Public methodLicenseAlias
Creates a new LicenseAlias object.
Public propertyContents
Gets the contents of the alias file.
Public propertyLastError
Gets the last error that occurred.
Public propertyLastUpdated
Gets the date the alias was last updated.
Public propertyLocation
Gets the location of the alias.
Public propertyType
Gets the type location in which the alias is stored.
Public methodCheckAlias
Compares the current license to the alias.
Protected methodCheckAlias(String)
Decrypts and verifies the alias document, and checks its last updated date.
Public methodDeleteAlias
Deletes the current alias.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetMostCurrentAlias
Gets the most current alias from a list.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodWriteAlias
Updates the alias with the most current license file data.
Protected fieldm_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:

LicenseFileSystemAliasImplements file-system based aliases, which are hidden copies of the License File which reside on the system's file-system.
LicenseWindowsRegistryAliasImplements Windows Registry based aliases, which are hidden copies of the License File which reside on the system's Registry.
LicenseImageAliasImplements Image based aliases, which are hidden copies of the License File which reside within image pixel data.
Caution note 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.

See Also