Detecting the hardkey/softkey’s expiry date at runtime.

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.

 

Related articles


Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *