Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Activate licenses via email.

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



Joined: 18 Jul 2005
Posts: 731

Posted: Thu May 28, 2009 5:24 am    Post subject: HOWTO: Activate licenses via email.

In certain circumstances, such as when the user does not have access to an Internet connection, it may be necessary to allow activation via email. In such cases, you will need to generate a machine-locked license via the CryptoLicensing Generator and send this license back to the user. To generate a machine-locked license, you need the machine code of the machine to which the license is to be locked.

In your software, use the CCryptoLicense.GetLocalMachineCodeAsString method which returns the machine code of the user's computer on which your software is running. This machine code can be sent to you in two ways :

1. Have your software display this textual machine code to the user and ask the user to send it to you via email or by another way.

2. Alternatively, your software can automatically send the machine code via email or another way.

Next, 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, if the user tries to use this license on another machine, validation will fail since the machine code embedded in the license will not match the local machine code.

Notes

If the customer wishes to tell you his machine code via phone instead of sending it via email, you may wish to display the machine code to the user in base-32 format instead of in base-64 format that is used by the CCryptoLicense.GetLocalMachineCodeAsString method. Base-32 format strings can be communicated orally over the phone more easily because they contain only upper case letters and no ambiguous letters such as 'o and 0' or '1 and I'. To display the machine code to the user in base-32 format, use the CCryptoLicense.Base64StringToBase32String method and pass it the value of the CryptoLicense.GetLocalMachineCodeAsString method.
When specifying this machine code in the 'Lock To Machine' text box, be sure to choose the input format as 'Base-32' from the adjacent drop-down menu.
Back to top
Display posts from previous:   
Forum Index -> CryptoLicensing For MFC All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group