Generating License Keys
Previous Top Next



The Generate Key Tab accepts key parameters which are applied when the "Generate Key" button is pressed.

clip0281

Days from first use when key expires

This field should be an integer from 1-4095 or "infinite".

1 - The license expires 24 hours after the first execution
2 - The license expires 2 days after the first execution
...
"infinite" or (blank) - The license has no restrictions for the number of days the program can be used.

Click here for more information about Relative Time Restrictions.

Maximum runs until key expires

This field should be an integer from 1-16777216

1 - The license expires after the program has been run 1 time
2 - The license expires after the program has been run 2 times
...
"infinite" or (blank) - The license has no restrictions on the number of times the program can be run.

Click here for more information about Execution Count Restrictions.

Absolute Date key expires

This field should be an of the format YYYY-MM-DD

YYYY = Four digit year, must be between 2003-2258
MM = two digit month (01 = January, 12=December)
DD = two digit day of month

"never" or (blank) - The license has no restrictions on the maximum date the software can be used.

Click here for more information about Absolute Date Restrictions.


Machine ID required to run

By entering a user's machine ID, the generated key will on work for that computer. By leaving this field blank or "none" the created license key will work on any computer.
The machine ID must be obtained from the user before-hand.

Click here for more information about Machine IDs.

License Data String passed to Program

This allows optional data to be embedded in the key and passed to your program. Because the embedded date makes the text representation of your key longer, you should keep this string as short as possible. For more information on how to access this information in your program see the TS_LICINFO Environment Variable.

Click here for more information about Machine ID Restrictions.


Minimum Software Release Version

This allows you to restrict the use of the key with a minimum software version you have released. For example, you can prevent someone from using the key with versions of your software older than 2.0.

Click here for more information about Version Restriction.

Maximum Software Release Version

This allows you to restrict the use of the key with a maximumsoftware version you have released. For example, you can prevent someone from using the key with versions of your software higher than 2.0.

Click here for more information about Version Restriction.

Effect of previously key entered keys when this key is entered
This section allows you to control what happens as a result of the previous license key.

Allow user to switch to previous key
When this option is selected, the user will be allowed to re-enter the previous license key and continue using it. This option is useful in the following scenario:

1. The user has purchased a license key that last forever, but does not have feature XYZ
2. The user is interested in purchasing feature XYZ, so you issue a new license key that has extra License Information telling your program to enable XYZ. This license key is only valid for 1 week.
3. After 1 week, the new license key will expire and the user is asked to enter a license key. They will be permitted to enter their original license key and continue using the software without feature XYZ.

Note: When the user switches back to their previous license key, they will have exactly the same restrictions as before. For example, if the user previously had 10 days left, they will continue to have 10 (or fewer) days left.

Expire previous key, user is not allowed to switch back to previous key
When this option is selected, the current license key will be expired when the new key is entered. The user will not be permitted to use the old license key again. This option is useful in conjunction with "Add 'unused days' balance" because it eliminates the posibility the user may try to enter older keys to gain additional time.

Start Run Count at 0 for this key
When this option is selected, the new license key will start the "Run Count" (number of times the program has been run) from 0. This option is useful for issuing a license key that allows precisely 10 executions regardless of how many the user had available previously.

Copy Run Count Total from previous key
When this option is selected, the new license key will copy the "Run Count" (number of times the program has been run) from the current license key. This option is useful for issuing a license key that does not permit additional executions based on the time it was entered. For example if the user originally has a key that permits 10 executions, and a new key is issued that allows 20 executions with the balance remaining of 5, the user will be permitted 15 more executions (20 in total).

'Days remaining' balance is not affected by previous key
When this option is selected, the 'days remaining' (number of days until the license key expires) is not affected by the previous license key. For example, if the user is originally issued a license key for 30 days, and you issue another license key for 30 days the total number of days the user can use the software will depend on when they enter the keys. If the keys are both entered at the same time, the user will have only 30 days - if the second key is entered after the first expires, the user will have 60 days in total. This option is useful when allowing user to switch from one license key to another that have different feature sets available.

Add unused 'days remaining' balance from previous key
When this option is selected, the 'days remaining' (number of days until the license key expires) from the previous license key is added to the new key. For example, if the user is originally issued a license key for 30 days, and you issue another license key for 30 days the total number of days the user can use the software will always be 60 no matter when the user enters the keys.