License File
const licenseFile = licenseManager.loadLicense();Methods
Create Offline Request File
createRequestFile(request: OfflineActivation, offlinePath: string)interface OfflineActivation {
isActivation: boolean; // true for activation, false for deactivation
isGuardFileEnabled: boolean; // should a guard file be created
guard: any // guard file data if required, created using: licenseAPI.createActivationGuard(licenseKey)
data: { // license data
product: string,
hardware_id: string,
license_key?: string,
license_id?: number,
username?: string,
password?: string,
app_ver?: string,
os_ver?: string,
hostname?: string,
ip?: string,
is_vm?: boolean,
vm_info?: string,
mac_address?: string,
variables?: {
[key: string]: boolean | number | string
},
};
}Get Feature Data
Check License Status
Perform Full License Check
Air-Gap License Activation Code
Deactivate License
Local License Check
Change Password
Add Local Consumption
Add Local Feature Consumption
Sync License Feature Consumption
Sync License Consumptions
Borrow Floating License
Release Floating License
Check Feature
Release Borrowed Feature
Update Offline
Deactivate License Offline
Get Product Details
Device Variables
Getters
Was this helpful?