Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat May 16, 2009 11:49 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 CCryptoLicense.IsEvaluationLicense function 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 GetHasMaxUsageDays, GetHasMaxUniqueUsageDays, GetHasMaxExecutions, GetHasMaxCumulativeRuntime function instead.
The IsEvaluationLicense function and the above properties can even be queried before the license is validated (by querying the CCryptoLicense.GetStatus function ).
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=556 |
|