SDKs
node.js SDK

License Manager

29min

LicenseManager

Provides a high-level interface for managing licenses, including local licenses. The LicenseManager is required to work with local license files. Typescript definitions are provided for the arguments and return types of the class methods.

To import the LicenseManager class use:

JS


To create an instance:

JS


The constructor takes the a single argument of the following type:

TypeScript


Methods

Methods that take a Managed License identificator are the same as in License API, except that product and hardware_id do not have to be specified in the payload as they are provided by the License Manager object.

Check License

TypeScript


Activate License Online

TypeScript


Deactivate License Online

TypeScript


Activate License Offline

TypeScript


Deactivate License Offline

TypeScript


Get Trial Key

TypeScript


List Licenses for User

TypeScript


List License Users for Customer

TypeScript


Check License Feature

TypeScript


Add License Consumption

TypeScript


Add Feature Consumption

TypeScript


Get Product Details

TypeScript


Get Device Variables

TypeScript


Track Device Variables

TypeScript


Borrow Floating License

TypeScript


Release Floating License

TypeScript


Release Floating Feature

TypeScript


Change Password

TypeScript


Get Product Versions

TypeScript


Get Product Installation File

TypeScript


Get Single Sign-On URL

TypeScript


Air-Gapped Licenses

TypeScript


Performs verifyConfirmationCode and activates Air-Gapped License:

TypeScript


License Utility Methods

Checks if License is enabled, active and not expired:

TypeScript


Returns days remaining in maintenance period:

TypeScript


Returns days remaining in license validity period:

TypeScript


License File

TypeScript






Updated 13 Dec 2024
Doc contributor
Did this page help you?