Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Wed Oct 21, 2009 10:59 am Post subject: HOWTO: Transfer machine-locked licenses manually from one machine to another machine |
|
|
When you cannot host a license service, you need to manually transfer a machine-locked license from one machine to another. To do this, perform the following steps:
1. In your software, use the CCryptoLicense.DeactivateLocally method to deactivate the license from the first machine. This method will return a deactivation code. Display this code to the user and allow him to copy it so that he/she can send it to you in step 3 below.
2. On the new machine, in your software, use the CCryptoLicense.GetLocalMachineCodeAsString method; display the return value of this method (machine code of the new machine) to the user and allow him to copy it so that he/she can send it to you in step 3 below.
3. Have the customer send the deactivation code and the new machine code to you (via email or by some other means).
4. In the CryptoLicensing Generator App, input the deactivation code in the bottom text box, then click on the dropdown part of the 'Validate' button and click the 'Validate Deactivation Code' menu item. If the specified deactivation code is valid, this means that the customer has actually and successfully deactivated the license from the old machine.
5. Now check the 'Lock To Machine' check box and specify the machine code of the new machine that the customer sent you. Then click 'Generate' to generate a new license machine-locked to the new machine. Send this to the customer to use on the new machine.
Note
You can use the CryptoLicensing Generator API to automate your part of the tasks (Steps 4 and 5). Use the CryptoLicenseGenerator.ValidateDeactivationCode method for Step 4 and the CryptoLicenseGenerator.Generate method (after specifying the new machine code via CryptoLicenseGenerator.MachineCode) for Step 5. |
|