Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Fri Jul 13, 2012 4:27 am Post subject: HOWTO: Access license settings without validating the license. |
|
|
When the CryptoLicense.Status property is accessed , license validation occurs which is performed in two steps. First, cryptographic validation occurs which means the cryptographic signature of the license code is verified using the validation key specified via the CryptoLicense.ValidationKey property. Next, any limits/settings specified in the license code are validated; for example if the license code specifies a "Max Activations" setting, then CryptoLicensing automatically communicates with the license service to activate the license.
However, under certain circumstances, you may want to simply access license settings without actually validating the license. To do this, first ensure that the license code is cryptographically valid by calling the CryptoLicense.ValidateSignature method. Next, you can access the properties like CryptoLicense.UserData (to access the embeded user-data), CryptoLicense.MaxActivations, CryptoLicense.MaxUsageDays, etc |
|