Home » Support » User Manual » Working with VMProtect » Main window » "Project" section » Managing licenses

Managing licenses

Initialization

By default, licensing functions are off. To enable them, you should create a pair of keys in the “Licenses” subsection of the “Project” section. If the project links to the license manager database (in older versions of VMProtect the license manager was a standalone program), VMProtect will suggest you to import the corresponding licenses to the project. When initialization finishes, the Lock to Serial Number option will be available, and you will be able to create and process serial numbers.

Interface

The “Interface” section displays a full list of licenses in the left panel and parameters of the selected element in the main panel.

The right panel displays detailed information about the selected license. It also allows blocking a serial number, copying it to the clipboard or seeing hardware id information (by clicking it).

Creating a license

To add a new license, click the corresponding button on the toolbar. AThe Add License dialog appears:

The upper part of the dialog allows to specify main parameters of the new license. The lower section configures which parameters will be finally put into a serial number and allows adding additional data: for example, a hardware identifier or custom user data. When you finish filling the data, click OK, and VMProtect creates a new license.

Removing and blocking licenses

To delete a license, right-click it in the list of licenses and choose “Delete” in the context menu. Or simply select the license and press Del. To block a license, turn the “Blocked” parameter in the main panel to “Yes”.

There is a difference between deleting a license and clocking it. Removed serial numbers are not blocked by the licensing system. They simply do not exist any more in the database. If a license was created by mistake and the serial number never was sent to anyone, you can delete such a license. However, if the serial number was compromised, you should not just delete the license, you should block it instead. In this case the information about this serial number is passed to the licensing system, and it will not further accept this serial number.

Importing serial numbers

Serial numbers can be created not only in VMProtect, but also in third-party programs – key generators. Key generators allow you to automatically provide e-commerce agents with serial numbers whenever a license is purchased. To add such serial numbers to the database, you can import them. To import serial numbers, press Ctrl+I or select the “Import” command in the “Project” menu.

The first step to import a serial number is the import dialog:

If the entered license already presents in the database, the edit license window will be opened. Otherwise, the new license dialog appears where you can adjust the license information and confirm license creation by clicking the OK button. The license is added to the database.

Exporting license parameters

External key generators require secret key of the product to work properly. You can obtain this information in the most suitable form by using the “Export key pair” command from the “Project” menu. The following export dialog appears:

The “Export format” field allows you to select one of the supported formats, while the “Results of export” field contains the key data in the most appropriate format for the selected type of a key generator. To copy the contents to the clipboard, click the “Copy” button.