Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Re-issue the same license with changed settings.

 
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: Fri Jun 05, 2009 10:07 am    Post subject: HOWTO: Re-issue the same license with changed settings.

Each license generated with CryptoLicensing has a unique license ID embedded in it.

In certain circumstances, it may be necessary to re-issue the same license (having same license ID), but with changed settings. For example, suppose you have issued a three activations license to a customer and the customer later purchased 2 more licenses/activations. Simply issuing them a new license with five activations would not work because the newly generated license would have its own unique license ID. Since the license services uses the license ID embedded in each license to uniquely identify the license, this would give the customer 8 licenses - five new and three existing.

Another option is to issue the customer a new license with a two activation limit (for the two new licenses purchased), but this would mean more hassle for the customer since they would have to maintain two different licenses and also keep track of which license has used up how many activations.

The solution is to re-issue the same license (having the same license ID), but with the new settings. The following procedure explains how to do this:

1. Paste the license code issued to the customer in the 'Licenses' text box at the bottom.
2. Click the Show License Settings button. This will display the license settings in the UI. You will notice that the Explicit ID field is also populated with the ID embedded in the license.
3. Now change the license settings as desired. In the above example, you would increase the 'Activation: Limit Machines To' from three to five.
4. Check the 'Explicit ID' check box. This ensures that the ID specified in the adjacent text box is used as the ID for the new license that we are about to generate.
5. Finally, click the 'Generate' button to generate the license with same ID but with the new settings.

This new license can be given to the customer. When the customer activates this license from a new machine, the license service will see the same ID as the old license ID and also that three activations have already taken place against this ID. But since the new license specifies five activations, the license service will allow the activation.

You can do the same thing using the Generator API as follows :

1. Load the settings of an existing license into the generator using the CryptoLicenseGenerator.LoadLicenseCode method.
2. Change the license settings as desired.
3. Call the CryptoLicenseGenerator.Generate to generate a new license code with the changed settings. All other settings (including the license ID) will remain the same.
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