Trial and Licensing Properties
The licensing library defines some properties that you can read from your application. To retrieve trial and licensing information please follow this article.
|LicReqContact||Contact Mail address used to request computer specific licenses|
|BuildDate||Release Date of the product specified in options page||Date format: %m/%d/%Y|
|BuyUrl||Purchase URL page opened when an unregistered end-user will press the Buy buttons from the Trial page|
|TrialExtendContact||Mail or Web address used when an unregistered end-user will press the “Request trial extension” link|
|LicenseKey||Serial number or license that end-user registered with||To check the license validity you should verify the return code of the licensing "ReadSettings" and "DisplayRegistration" functions. An invalid LicenseKey will cause the application to run in trial mode.|
|TrialLeft||Number of trial days/runs available when application was started||When having "Both" limited trial (days and runs) TrialLeft property is set to the smallest of them|
|Quantity||Trial quantity available for the end-user and specified into the "Limit At" field of the options page.||This property will increase each time the trial period is extended|
|TrialMU||Set to either "Days" or "Runs" depending on trial type and the TrialLeft property.|
|CompId||Computer identification||ID generated by the licensing library, displayed to the end-user into the “Registration” page and used into the mail sent to the mail address specified by the LicReqContact property|
License Elements Properties
When a valid license is used, its elements are available as properties. You can read more about license elements and the license format in Edit License Template Dialog.
Properties available depending on the license content:
|SIGN||Cryptographic secured license signature based on RSA public-key signature||Text|
|MP||Maintenance Plan expiring date||Date format: %m/%d/%Y|
|EXP||Date until the license is valid||Date format: %m/%d/%Y|
|REG_EXP||Date until the user can use the license to register||Date format: %m/%d/%Y|
|COMP_ID||Computer identification||ID generated by the licensing library, displayed to the end-user into the “Registration” page and used into the mail sent to the mail address specified by the LicReqContact property|
You can extend the above license elements list with new custom defined elements by editing the license template.