<< Click to Display Table of Contents >> Navigation: WinLicense > SecureEngine® Macros > Registered macro |
The REGISTERED macro allows you to mark regions of code that will be executed when your application is registered. If your application is not registered, these regions of code will be kept encrypted. When your application is registered and one of these regions of code is going to be executed, SecureEngine® will decrypt that region of code with the registration information from the present license key. This macro offers a strong technique to avoid attackers from retrieving the encrypted block without having a valid license key.
NOTE:The current version of SecureEgine® does not support this function to be called for .NET languages or Visual Basic compiled in PCode mode.
{$I Registered_Start.inc}
// your code goes here
{$I Registered_End.inc} |
REGISTERED_START
// your code goes here
REGISTERED_END |
Call VarPtr("REGISTERED_START")
' your code goes here
Call VarPtr("REGISTERED_END") |