Click or drag to resize
LicenseAliasValidation Constructor
Creates a new LicenseAliasValidation object for validating aliases for a WritableLicense.

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version:
public LicenseAliasValidation(
	WritableLicense license


Type: com.softwarekey.Client.LicensingWritableLicense
The WritableLicense which needs to have its aliases validated.
Caution note Caution
By default, OverwriteOlder option is set to true. When this is enabled, any aliases that is newer than the license file and the rest of the aliases will be used to overwrite the license file and the other aliases.
Caution note Caution
When OverwriteOlder is set to true, a valid, absolute path to your application's license file must be specified in the LicenseFilePath property. If LicenseFilePath is not set properly, the WritableLicense object will load the latest alias, but will not automatically save it to the file system.
Caution note Caution
By default, all aliases configured for your WritableLicense implementation will be required to pass validation, and at least one aliases must be configured. See the NumberOfValidAliasesRequired property for additional information.

After initializing your LicenseAliasValidation object and its properties, call the Validate method to validate the aliases configured in the WritableLicense (these are configured via the AddAlias(LicenseAlias) method.

See Also