|

|
The AVLock Gold package have two relevant parts, namely; the AVLock Gold component and the AVLockManager utility.
|
Basically, to convert your existent application to a full featured trial, you must to follow these 10 steps:
1. Drop down a AVLockGold component into your main form.
2. Compile your application.
3. Open the AVLockManager utility.
4. Create a new entry for your application.
5. Configure the component with the "Settings" tabsheet.
6. If you manage modules then add them into the "Modules" tabsheet.
7. Run your application with the "Run" button.
8. Remove the registration data from your computer with the "Unregister" button.
9. If you need, repeat the last steps (5..8).
10. Ship the generated avconfig.ini file together with your application.

|
Below you can see the basic interaction between the AVLockManager utility and the managed application. At design time, through this utility you will create two files. avusers.ini and avconfig.ini.
|

The avconfig.ini file holds in a strong encrypted way (Rijndael algorithm 128 key length) the information needed to configure all properties into the AVLockGold component. These information are managed into two tabsheets of the AVLockManager utility, namely: "Settings" and "Modules". Avconfig.ini must be shipped together with the application and must to reside into the same directory where is the application exe file.
The avusers.ini.file holds information about your users and the Keys generated for them.
The basic security strategy
Below is the scheme for the basic security strategy.

When you call the Execute method, then AVLockGold gets two InstallCodes values, one calculated from the machine and other retrieved from the Windows registry (or from the RegFile).
Then both values are compared. If they matches then the application starts, otherwise the registration form come up in order to allow to the user to make the registration process.
The registration form
The interface between AVLockGold and the user is accomplished through the registration form. Please take a look to the image below.
The registration form.
Wheen the user run the application the first time, this starts the trial period, normally a 30 day evaluation period. While this period the registration form always is displayed when the user run the appication. After the trial period reach the end, the message "Trial period expired" is displayed and the "Continue>>" button become disabled, in order to force to the user to register the application or close it.
The registration process
1. When the user bought your application, then in order to start with the registration process he should send you the installcode (from the user machine) displayed in his registration form.
2. Then you (the author or vendor) add a new entry for this user in your AVLockManager utility, enter the user information with the InstallCode received from him. Then check the gen checkboxes in order to generate the key(s) and send them to the user, with the [Send keys by email] button or any other way.
3. The user receive the key(s) and put they into the keys box in the registration form, then click on the register button.
If you have any questions not answered by this help file, please don't hesitate to contact me at http://valega.com/contacto.php.
|