|
||
For single user applications, Licence Protector offers an option to use an application on multiple PC's but only on one PC at a time. It is similar to a floating license in a network but uses the Activation Server to check, which PC has started the application.
During each program start, the PC has to register the application online and at the end of the application, the application has to unregister online.
As a basic integration use the EasyGo workflow including the license transfer option.
The command PrepareAndCheck will do all necessary steps. There is nothing special to consider.
If you want to start the application without displaying any screens, use the following code sequence
•Retrieve main module ID with MainModuleID
•Retrieve Serial Number / ID with GetSerial. If the Serial Number / ID is empty then the product is not activated yet and can only be used on this PC. Do not continue with the online check
•Activate the license transfer option using SetRegisterLicTransfer. Set option TransferLicence to true, to transfer the complete file. This command must be used before WebRegisterExt.
•Register the license online using WebRegisterExt and the main module ID and Serial Number as parameters. If the error code is not 0 terminate the application
When the application terminates, the license has to be unregistered online. The local license is then locked.
•Retrieve main module ID with MainModuleID
•Retrieve Serial Number / ID with GetSerial
•Lock the local license using DeactivateModule. Use the main module ID and your Serial Number / ID as parameter
You can disable the progress screens using ShowWAStartPage, ShowWAProgressPage and ShowWAResultPage.
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.
This workflow will result in a heavy server load of the Activation Server, depending how many products you have delivered and how often a user does start the application. It is recommended to run an own, dedicated Activation Server.
The hosting packages do not allow to use this feature. Contact sales@mirage-systems.de to request a quote if you want to use a hosted version of the Activation Server.
See also
Floating license in a network