Home » Support » WebLM User Manual » Licenses » Adding a license

Adding a license

To add a new license, click the Add button above, or select the Add New License item in the Licenses section at the left. The following screen appears:




Select the product the new code applies to. Then, fill in the customer name, e-mail address, purchase date, and order reference number and optional comments. The second block of options is mostly used with automatic license key generation.


Hardware id links the serial number to a particular hardware configuration effectively preventing multiple activations of the software with the same serial number on many different computers.


The Expire date parameter defines how long the serial number should work. The Time limit option sets the amount of minutes the license remains valid after the software is launched. Both options are convenient for providing limited time keys, free time-limited giveaways, giving keys to people for testing and other means.


The Max build date option can be used to make some licenses valid only up to a certain software version compiled earlier than the specified date. That is, such a license would work with say version 1.0, but would stop working with version 2.0 as long as its compilation date is later than the value of this parameter.


The Data option allows you to encode additional data into the serial number and securely pass this information to the software to make it react, function or look different depending on that data. For example, you could pass the branding information to the software to display different logotypes or links inside. Other example is limiting functionality of the software depending on particular conditions. You can pass those conditions via the Data field. The application can retrieve serial number data using the VMProtectGetSerialNumberData API function.


Note: you can enter both text and binary data to this field. The binary data should be entered using the \0x prefix and an appropriate hexadecimal code: \0×20.