Checking the License Expiration Date of a Feature

This topic is only relevant when the license type for a Feature is Expiration Date.

By default, the license expiration date of a Feature in a protected application is only checked when the application logs in to the Feature. If the application is allowed to run continuously, the Feature can continue to be used even if its expiration date has passed.

You have the option to set an attribute called die_at_expiration in the scope input XML tags for the LoginScope function. When enabled, this attribute causes the license expiration date to be checked each time the Encrypt or Decrypt function is called in the protected application. If the function discovers that the expiration date of the Feature has passed, the session is interrupted and the status code HASP_FEATURE_EXPIRED is returned.

Related Topics

Scope Input XML Tags