Reactivation after copy protection violation
If the user gets a copy protection violation error - see screen - you can try a reactivation. This makes sense to cover the situation, that a user has changed the hardware criteria you used for copy protection. It is automatically covered using EasyGo.
If you use your own screens you can cover this situation as follows.
Example
• | Hardware ID for copy protection used is MAC address (installation code 2) |
• | User changes his network adapter |
• | During program start a copy protection error occurs |
• | Make an online check to test, if other criteria match (e.g. volume ID and hostname are still the same) |
• | Turn on the copy protection again using the new MAC address |
This situation is automatically handled if you use the EasyGo screens. In case you use your own screens, use the code sequence below.
Source Code Integration
If the result of PrepareAndCheck is error code 1024 (copy protection violation) then
• | Open the file with SecurityLevel, then PrepareForce |
• | Retrieve the Serial Number using GetSerial |
• | Now perform a license check including product activation using WebRegisterExt and the Serial Number as ID. Product has to be the main module number. |
• | If you get an error code = 0, then the reactivation was successful. All other error codes should terminate the application |
Make sure to make the correct Web Activation Server definitions for the reactivation.
See also
Create Activation Key / Serial Number for multiple usage
Web Activation Server definitions
Allow Reinstallation / Product Reactivation