How to bind a license to a USB key (dongle)

Application running from USB Key

Product Configuration

To bind a license to a USB key, you must select configure

  • Launch the QLM Management Console

  • Go to the Protect your application tab

  • Select your product and the License Server

  • Set the QlmLicenseBinding property to USBKey

  • Complete the wizard and update your application with the generated code (LicenseValidator.cs and XML Settings File).

Application Configuration

At the application level, set the license binding to USBKey as well as shown below.

Application running on a local drive

If the application is running on a local path but you want to bind the license to a USB key, update your application as per the instructions below. Note that you must prompt the user to specify the location of the USB key.

Product Configuration

To bind a license to a USB key, you must select configure

  • Launch the QLM Management Console

  • Go to the Protect your application tab

  • Select your product and the License Server

  • Set the QlmLicenseBinding property to UserDefined

  • Complete the wizard and update your application with the generated code (LicenseValidator.cs and XML Settings File).

Application Configuration

At the application level, set the license binding to UserDefined and get the computerID as shown in the code below.

Last updated