<< Click to Display Table of Contents >> Navigation: WinLicense > Licensing with WinLicense > Registry keys |
Registry keys is one of the basic ways to register an application with WinLicense. If you decide to register your application with a Registry key, you have to ship a .reg file which will contain the Registry key information. Your customers can double click in the .reg file and the Registry key information will be inserted into the Windows Registry automatically.
In the Registration panel, you can select the Registry key name and Value name where the Registry key information will be stored in the Windows Registry. Notice that you can select to install the license in either HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. If you select HKEY_LOCAL_MACHINE, the license will be inserted for all users in a specific computer, but the user must have administrator's rights to install the license into the Windows Registry. If you select HKEY_CURRENT_USER, the license will be inserted for just the current user but it will not require administrator's rights to install the license.
Once that a Registry key is fully installed into the Windows Registry, WinLicense will check the Registry key when your application boots up and will try to register your application if the Registry key is correct and it's not expired (in case that expiration options were introduced in the Registry key).