Question:
Can I access the product key’s expiry date (“hardkey/softkey”) at runtime?
Solution:
Yes. Elipse E3 version 5.5 comes with a new ServerNode object in E3Server, called Server Information (“[?Server]”). With it, you can access the information on Licenses (LicenseNode) and, therefore, to the hardkey/softkey’s expiry date at runtime.
To detect the current license’s expiry date, just access (via links or scripts) the ExpireDate property, which indicates either the current license’s expiry date or 0 (zero) if the current license has no expiry date. This is a read-only property.
NOTE: Using brackets to refer to this object via scripts, for example “[?Server].License”, is mandatory.