LicenseAliasValidation Constructor |
Namespace: com.softwarekey.Client.Licensing
![]() |
---|
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. |
![]() |
---|
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. |
![]() |
---|
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.