DeployLX Software Protection System

Time Limit

The Time Limit restricts how much time the user has to use the protected software.

Used by itself to define the term of a product subscription or as a child limit for instance when defining the grace period for an Activation limit or the evaluation period of a Trial limit.

How is the Time Limit Enforced?

When the license is validated DeployLX determines if the time limit has expired. DeployLX validates the time based on on one of the following types

At A Time

Tracks usage from the time the application is launched. Use the TimeExpired event to be notified when the time has expired.

Cumulative Tracks total amount of running time even between sessions.
From First Use Tracks the amount of time from the date the software was first run.
Specific Date Expire the license on a specific date.

Monitoring the Time Limit

Monitor the time expiration by requesting an instance of the TimeMonitor from the license by calling GetTimeMonitor. Then subscribe to the TimeExpired event to receive notification when the time limit has expired.

Use the TimeRemaining, TotalTime and RunningTime properties to the TimeMonitor class to display information about the time in custom forms.

Note Uninstalling the software and reinstalling does not reset the time. To reset the clock change the LicenseId of the license or the LimitId of the Time Limit.

Anti-Clock Tampering

DeployLX automatically detects attempts to roll back the system clock. If the clock has been rolled back since the last time the license was validated validation fails.

DeployLX makes accommodations for minor clock adjustments from a time server in an enterprise environment and daylight savings.

When the license contains a Time Server Limit then DeployLX will not keep track of when the license was last used and instead will defer to time reported by the server.

To disable the clock check for development machines set the DontCheckClock property of the LicenseHelpAttribute.

During development use the TestDate property to simulate a future date without interfering with the clock-tampering features of DeployLX.

Extending the Time Limit

The Time limit supports extensions to authorize continued use of the software past it's expiration. This can be used to create a subscription service that requires periodic renewal or to extend the evaluation period of a trial.

Use the Generate Extension Code form to create codes for extending the time limit on a users machine.

To support extensions

Trials

  1. Select the Trial/Evaluation tab in the Easy License Editor.
  2. Select the Allow trial extensions option.

Activation Grace Period

  1. Select the Hardware Locking tab in the Easy License Editor.
  2. Select the Allow grace period extensions option.

Time Limit

  1. Select the Time/Use Limits tab in the Easy License Editor.
  2. Select the Allow extensions option.
  1. Select the edition with the Time limit in the list in the Advanced License Editor.
  2. Switch to the Limits tab.
  3. Select the Time limit in the limits tree.
  4. Select the Time can be extended by the license server and by code or seria lnumber options.

Secure Storage

The limit uses DeployLX's Secure Storage service to track state on the client machine. Secure storage imposes additional security requirements that may require additional configuration

See the Secure Storage topic for more details.

Customizing The Forms

The forms may be customized or completely replaced to fit your specific application style.

Customize the colors and icons of the forms by selecting the Theme button from the License Tab on the Ribbon.

See the How to Create a Custom Form topic for details on replacing or customizing the form.

See Also