License expiration

You can set license expiration date using ExpirationDate property of license object. It is possible to set license expiration in toolbox too by clicking on “License expiration button” in “License generation” tab. ExpirationDate will be used only when ExpirationDateEnabled property of License object is set to true. There are multiple settings available regarding expiration date:

  • Time server – NTP server address to get information about time
  • Treat offline as expired – when this checked, user must be online to use time expiring license

Hardware locking

You can limit license validity only to some specific computers (one or more). To do so, click “Hardware locking” button in “License generation” tab of TLL Toolbox. To display actual hardware ID to user in your application use TreeksLicensingLibrary2.HardwareID.ActualHardwareID property.

To make TLL generate different hardware IDs per application (optionally), you can set Hardware ID salt property.

Allowed & blocked features

You can distribute the list of allowed or blocked features within your license. These are simple strings identifying specific features in your application. To check at runtime simply use License.AllowedFeatures.Contains or License.BlockedFeatures.Contains  method. For more information see License object class documentation.

Custom fields

You can set up to 10 different string info fields within the license and access them at runtime. You can store any information regarding license.