SDKs
node.js SDK

License File

26min

For more info see:

To load a local license file, create an instance of LicenseManager and call the method loadLicense:

JS


The License class provides an interface for working with the License File.

Methods

Get Feature Data

TypeScript



Check License Status

Throws an exception if the license is disabled, inactive or expired

TypeScript


Perform Full License Check

Checks License status and saves to local license file

TypeScript


Air-Gap License Activation Code

TypeScript


Deactivate License

Deactivates a License, updates local license file. Optionally deletes license file

TypeScript


Local License Check

Performs a local check using the local license file. Throws an exception if license is not valid

TypeScript


Change Password

Performs password change for user associated to License

TypeScript


Add Local Consumption

Adds a License consumption to the local license data

TypeScript


Add Local Feature Consumption

Adds a License feature consumption to the local license data

TypeScript


Sync License Feature Consumption

Sends a feature consumption request to the server and updates local data

TypeScript


Sync License Consumptions

Syncs local consumptions to server

TypeScript


Borrow Floating License

TypeScript


Release Floating License

TypeScript


Check Feature

Checks License Feature status, throws exception if not active

TypeScript


Release Borrowed Feature

TypeScript


Update Offline

Update local cache from Offline License File (at given path). Optionally reset local consumption value

TypeScript


Deactivate License Offline

TypeScript


Get Product Details

Retrieves Product Details from server:

TypeScript


Retrieve Product Details from local data:

TypeScript


Device Variables

Set custom variables to local data:

TypeScript


Send locally stored variables to server, optionally save to license file:

TypeScript


Get the value of a variable from local data:

TypeScript


Get all variables from local data:

TypeScript


Get all variables from server:

TypeScript


Getters

JS