Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO: Access license settings without validating the license.

 
Subscribe to the RSS feed for this forum  Forum Index -> CryptoLicensing For ActiveX
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Jul 28, 2012 2:23 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.
Back to top
Display posts from previous:   
Forum Index -> CryptoLicensing For ActiveX All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group