Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Fri May 15, 2009 4:47 am Post subject: HOWTO: Determine if a license is an evaluation license |
|
|
A license code is an evaluation license if it specifies one or more of 'Max Usage Days', 'Max Unique Usage Days', 'Max Executions' and 'Max Cumulative Runtime' settings.
The CryptoLicense.IsEvaluationLicense method can be used to determine the license is an evaluation license, that is, whether it specifies one or more of the above settings. You can also individually use the HasMaxUsageDays, HasMaxUniqueUsageDays, HasMaxExecutions, HasMaxCumulativeRuntime properties instead.
The IsEvaluationLicense method and the above properties can even be queried before the license is validated (by querying the CryptoLicense.Status property).
To get the current number of usage days, unique usage days, etc in an evaluation license, see http://www.ssware.com/support/viewtopic.php?t=551 |
|