|
Using built-in registration scheme 1. Generation of registration key Key generation is possible in two ways: a) from SDProtector.exe - go to Registration Keys page, enter information about the key to User ID window, Order ID window, Hardware ID window (if you want to generate hardware locking key), Expiration Version window( if you want the key expires on a specified version or greater), Expiration Date( if you want to set the expiration date for key), and then you can press "Generate reg file" button to generate registration key file. b) using keygen.dll - you can write automated key generation system for your needs. 2. Delivery of the key Generally, the key should be sent to your user as attachmemt (.reg file). Your user can double click the key file(.reg file) to import the key to registry or copy the key file to the folder where your application exist. But, if you create SetRegistrationKey API and export it, the key could be other formats. 3. Validation of the key by SDProtector In case of delivery of the key to the user it is enough to click twice
on the attachment, that has .reg extension, and the key contents will
be loaded to the registry. a) create a window for entering the key, and after the key is entered write it down to the registry key, that was defined on "Registration Key" page in SDProtector(press "Set key path" to view or set the registry path). b) create the window for key creation and store the key wherever you
want. When the application is started, the key must be passed to SDProtector
using SetRegistrationKey API function. |