Skip to content

Activate and Manage Local Licenses

A local license is a type of software license that is tied to a single computer (or workstation). This topic covers how to deploy and manage local licenses on developers' machines.

License Management Utilities

All license types (local and network) for the EMX Controls library are handled using two utilities from Guardant - Guardant Control Center and Guardant License Wizard. These tools can be downloaded at:

Guardant Control Center

A license management service.

Installation files:

  • Windows: grdcontrol-x.x.msi
  • Linux: grdcontrol-x.x_amd64.deb, grdcontrol-x.x.x86_64.rpm

Note

Guardant Control Center must be installed and running on the developer's machine to manage licenses and monitor their usage. Do not uninstall, stop, or disable the service; without it, the EMX Controls library cannot verify its license and will display trial messages.

Guardant License Wizard

A GUI and command-line tool that allows you to add, update, and transfer licenses.

Executable files:

  • Windows: license_wizard.exe
  • Linux: license_wizard

To get information about all command-line options, run this command:

license_wizard --help

Online License Activation Using a Software Key (Guardant DL)

From the Command Line

license_wizard --console --activate <LICENSE-KEY> --host https://getlicense.guardant.ru

From the UI

  1. Ensure Guardant Control Center is installed and running.

  2. Run Guardant License Wizard.

    guardant-license-wizard

  3. Click Settings, and ensure that the Server address property is set to https://getlicense.guardant.ru.

    guardant-license-wizard-settings-server-address

    Then click Back to return to the previous page.

  4. Click the License Activation button to add a new license key.

  5. Specify the computer on which you want to register a license.

    guardant-license-wizard-select-computer

  6. Enter your license key in the Serial Number field.

    guardant-license-wizard-specify-license-key

  7. Click Get license.

    If the license activation is successful, the Wizard will display information about the licensed products.

    guardant-license-wizard-list-of-licensed-products

Offline License Activation Using a Software Key (Guardant DL)

If a computer has no internet access, you can still activate the software key using an offline procedure. This activation type includes the following steps:

  • Step 1. Generate a request file on the machine that has no Internet access.
  • Step 2. Get a license file from the request file on another machine with Internet access
  • Step 3. Import the license file back to the offline machine.

These steps are explained in greater detail below.

  1. Ensure Guardant Control Center is installed and running on the offline computer and the computer with Internet access.

  2. Run Guardant License Wizard on the offline machine.

    guardant-license-wizard

  3. Click License activation.

  4. Select On this to specify the computer on which you want to register a license.

    guardant-license-wizard-select-computer

  5. Click the Offline activation button.

    guardant-license-wizard-offline-activation-button

  6. Click Save to save a request for a new license to a file.

    guardant-license-wizard-offline-save-request-button

  7. On another computer with Internet access, run Guardant License Wizard.

  8. Click Settings, and ensure that the Server address property is set to https://getlicense.guardant.ru. Then click Back to return to the previous page.

  9. In the Licenses page, click the License Activation button.

    guardant-license-wizard-offline-license-activation-button

  10. Select On another to specify the computer for which to activate a license. Then click 'Continue'.

    guardant-license-wizard-offline-another-comp

  11. Load the request for a license that was generated on a target computer.

    guardant-license-wizard-offline-load-request

  12. Enter your license number and click Activate a new license.

    guardant-license-wizard-offline-enter-license

  13. Save the license file ('*.license').

    guardant-license-wizard-offline-save-license-file

  14. Go back to the target computer.

  15. Run Guardant License Wizard, and switch to the License activation page.

  16. Select On this to the specify the computer for the license activation. Then click License file or rehost file, and load the generated license file ('*.license').

    guardant-license-wizard-offline-load-license-file

  17. Activate the license.

Online Update of the License

From the Command Line

license_wizard --console --update <LICENSE-KEY> --host https://getlicense.guardant.ru

From the UI

  1. Run Guardant License Wizard.

    guardant-license-wizard-linceses-list

  2. Click Settings, and ensure that the Server address property is set to https://getlicense.guardant.ru. Then click Back to return to the previous page.

  3. In the Licenses page, click the ellipsis ('...') button and click 'Check updates'.

    guardant-license-wizard-check-updates-button

  4. Click the Install Updates link that appears if a license update is found on the server.

  5. When the operation is successful, the Wizard will update the registered licenses.

Switch Between Licenses

If you have two or more licenses registered on your computer, you can select the required license for the project as follows.

  1. Build your project if the emxLicense.cs file is missing. Once generated, this file will reference the first found license.

    The third parameter of the SetRuntimeLicenseOwner method in the emxLicense.cs file specifies the license id.

  2. Run Guardant License Wizard to view the installed licenses.

  3. Locate the id of the required license (a hexadecimal number displayed after the license title).

  4. Replace the license id in the SetRuntimeLicenseOwner method with the new one.

  5. Rebuild the project.