Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Manually issue hardware-locked licenses.

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



Joined: 18 Jul 2005
Posts: 731

Posted: Fri May 22, 2009 4:44 am    Post subject: HOWTO: Manually issue hardware-locked licenses.

The license service allows automatic activation of licenses; however if you cannot or will not, for any reason, use the license service, you can still issue hardware-locked licenses directly from the CryptoLicensing Generator or via the CryptoLicensing API.

To generate a hardware-locked license, you need the machine code of the target machine to which to lock the license to. The CryptoLicense.GetLocalMachineCodeAsString() method returns the machine code of the local computer (the computer on which the code is running). Have your software display this value to the user and ask you user to send to you (viaemail or another way) this machine code. Alternatively, your software can automatically send the machine code to you via email or another way. When generating the license in CryptoLicensing Generator, specify this machine code in the 'Lock To Machine' text box and then click the 'Generate' button to generate the license.

Send this license code to the user. This license will be successfully validated on the user's machine; however validation will fail on any other machine since the machine code embedded in the license will not match the local machine code.

Notes

To generate a hardware-locked license using the Generator API, set the CryptoLicenseGenerator.MachineCode/MachineCodeAsString property before calling CryptoLicenseGenerator.Generate. See the GeneratorAPI sample that comes with the installation for sample code.
Back to top
Display posts from previous:   
Forum Index -> CryptoLicensing For .Net All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group