Transfer a license

This feature allows to move / transfer a license with activated copy protection from a PC A to PC B. This is only necessary, when the PC, where the license file is stored, has to be replaced or a user wants to switch between a PC and notebook.

 

A license can only be transferred if the software was already activated. If the license is in evaluation mode, then no transfer is possible.

 

If the transfer was successful on PC A, then the license is sent to the Activation Server 4 and the local license is locked (a special check ensures that a restore of a license file, which was saved before the transfer was done, results in an error). The user can now install the application on PC B and use the old Serial Number again.

 

In case a license transfer is not possible (e.g. because the PC was formatted) a manual license deactivation can be done on the Activation Server 4.

 

 

There are 3 ways to implement a license transfer:

 

Using the License Viewer - no source code change required
Using EasyGo screens - the user will be guided through the transfer
Using custom screens - transfer with own screens or without displaying any screen (e.g. when done during an uninstall)

 

Limitations

Right now only one module / feature can be transferred and not the complete license file like in the Windows version. If a complete license file should be transferred, a transfer per module is required.

 

EasyGo Screens

Open your license file with prepareAndActivate
Retrieve Serial Number / ID with getSerial. If the Serial Number / ID is empty then the license transfer is not possible as the product is not activated yet
Use setActivationScreen to set values like application name for the screens
Use transferLicence to transfer the license. The user will be guided through the transfer
After restarting the application, prepareAndActivate will result in the license lock error screen where the user gets different options to activate the license again

 

Custom Screens

Open your license file with prepareInit
Retrieve Serial Number / ID with getSerial. If the Serial Number / ID is empty then the license transfer is not possible as the product is not activated yet
Use deactivateModule to deactivate the module on the  Activation Server 4

 

After restarting the application

 

Use GetVerificationOfModule after the validate command. The result frozen = 2 indicates that the license was locked . Implement a reactivation screen like this: License deactivated / reactivate license
Use CheckModuleSubscription to check, if the license can be unlocked (it will automatically activate the license again if possible)
The module could be activated again using activateModule

Special use cases

In case the user starts the application again after the license was transferred, he can activate it again on the same computer as long the Serial Number was not used on a different computer
If the user would make a backup of the license file before the transfer is done and then restore the backup, the license would still be locked as the transfer information is kept on the system

 

 

i_green_sm

A good idea is to automatically do the license transfer during the uninstallation of the application