Licence Protector

Transfer a license using custom-made screens

Hide Navigation Pane

Transfer a license using custom-made screens

Previous topic Next topic No directory for this topic  

Transfer a license using custom-made screens

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

If you do not use the EasyGo workflow but your own screens use this workflow to transfer a license.

 

Add a new menu item (e.g. Help, Transfer license) within your application and make the following Source Code modifications.

 

 

At the start of the application

Activate the license transfer option using SetRegisterLicTransfer. Set option TransferLicence to true, to transfer the complete file. This command must be used before WebRegisterExt.

Use CheckModuleSubscription to detect, if the local license was deactivated

 

Command to transfer the license

Retrieve main module ID with MainModuleID

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

Transfer the license using the command DeactivateModule.  Use the main module ID and your Serial Number / ID as parameter

 

The complete license file is uploaded to the Activation Server and the license file on the local PC is locked.

 

If the user restarts the application, find out, if a module / license is deactivated using GetVerificationOfModule (result: frozen = 2). Implement a reactivation screen like this: License deactivated / reactivate license.

 

If the user installs the application on PC B, he can activate the product using the same Serial Number / ID he used to activate the product on PC A

 

 

 

Tamper detection ensures that no restore of a backup of a license file will work. You have to activate this feature separately.  If you do not want to use tamper detection, use regular online checks instead.

 

 

You can disable the progress screens using ShowWAStartPage, ShowWAProgressPage and ShowWAResultPage.