Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

Trial protection part 1

(without source changing)

Trial protection implies the use of specific trial options of The Enigma Protector to add time limitations to the protected module and use Enigma generated registration keys. The protection uses internal functions, so you do not need to make changes to the sources of your module. The only input parameter for the function is the executable file of your module.

  1. Create a unique project for file protection. See. Creation of protection project. This project can be later used for creating more complex protection.
  2. Define the following settings: Input parameters, Protection parameters.
  3. Choose trial period parameters. See. Trial Limitations.
    1. The Enigma Protector supports the following types of trial limitations: by count of module executions, by count of usage days (the trial period counter starts from the first execution of module on the user PC), by expiration date. Turn on the necessary additional parameters of the trial period.
    2. Set the reaction on trial expiration. Trial expiration means the impossibility of future usage of the module on the user PC, so you can turn on the "Terminate after execution" option on the "Trial Control" panel (See. Program Overview - Trial Control) and enter the time interval after which the module will be terminated. If this value is 0, the module will be terminated immediately after it is started.
    3. Trial period counter uses the system clock to calculate trial parameters. But a cracker can set the system clock backward to reset trial limitation and restore the functionality of the module. To prevent it, you can turn on the clock control function.
    4. During the development of new software releases, you need to reset trial parameters of older protected versions of module on the user PC. To do this, you can enable a special feature which will check the version of trial information on the user's PC, and if it is older than the current version, the trial limitations will be reset. To enable the feature, check the "Reset trial" box on the "Trial control" panel. Note: this feature uses version information which you have entered into the project input parameters. See Choosing input parameters).
  4. Set the registration keys features (See. Registration keys features). To delete trial limitations, the user needs to register your module. Module registration means saving the registration information on the user's PC. Choose the type and path for storing registration information. The Enigma Protector supports two types of registration information storage - registration information stored in an external file or in the Windows registry (See Program Overview - Registration Features).
  5. Module protection. Click the "Protect" button and check the functionality of the protected module.

Overview:

After the first module execution on the user's PC, Enigma loader starts incrementing the trial counter. If the trial period has expired, the loader generates the reaction defined in 3.2. In case of trial expiration you can restore the functionality of the protected module by means of a file with registration information. You need to create a registration key by means of internal registration key generator (See. Creating Keys). Subject to the selected type of registration information storage (external file or Windows registry), you need to create the following file(s) with registration information:

  • registration information stored in the Windows registry.

    Create any file with the .reg extension and place the following strings there:

    [HKEY_ROOT\HKEY_RELATIVE]
    "Name"="User Information"
    "Key"="XUCBSNJ9T642DCQP3FW8C6NJL75X7"
    

    here: HKEY_ROOT - root path of Windows registry, it can be:

    HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER, - this field has been filled out in the Registration Features - Registration data storing panel, "Base place in registry" field;

    HKEY_RELATIVE - related path in the Windows registry, has been filled out in the "Relative path in registry" field

    User Information - information about the user the registration key has been generated for;

    XUCBSNJ9T642DCQP3FW8C6NJL75X7 - the registration key.

    Send the .reg file to the user. After the user double-clicks this file, a message will be displayed offering to add information into the Windows registry, the user must click "Yes". In case everything has been done successfully, the module will be registered.

  • registration information stored in the external file.

    Create a file with the name which you have typed in the Registration Features - Registration data storing, "Relative path in the file system" field and place the following information there:

    [Registration information]
    Name=UserInfo
    Key=XUCBSNJ9T642DCQP3FW8C6NJL75X7
    

    here UserInfo - information about the user the registration key has been generated for;

    XUCBSNJ9T642DCQP3FW8C6NJL75X7 - the registration key.

    Send this file to the user and instruct them to copy the registration file into the folder specified in the "Base folder in file system" field. In case everything has been done successfully, the module will be registered.