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.

PropertyDescriptionObservations
TrialNameDisplay Name
LicReqContactContact Mail address used to request computer specific licenses
BuildDateRelease Date of the product specified in options pageDate format: %m/%d/%Y
BuyUrlPurchase URL page opened when an unregistered end-user will press the Buy buttons from the Trial page
TrialExtendContactMail or Web address used when an unregistered end-user will press the “Request trial extension” link
LicenseKeySerial number or license that end-user registered withTo 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.
TrialLeftNumber of trial days/runs available when application was startedWhen having "Both" limited trial (days and runs) TrialLeft property is set to the smallest of them
QuantityTrial 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
TrialMUSet to either "Days" or "Runs" depending on trial type and the TrialLeft property.
CompIdComputer identificationID 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:

PropertyDescriptionObservations
IDLicense IDText
SIGNCryptographic secured license signature based on RSA public-key signatureText
MPMaintenance Plan expiring dateDate format: %m/%d/%Y
EXPDate until the license is validDate format: %m/%d/%Y
REG_EXPDate until the user can use the license to registerDate format: %m/%d/%Y
COMP_IDComputer identificationID 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

NoteYou can extend the above license elements list with new custom defined elements by editing the license template.