checkLicense

[ Function ]

public static checkLicense(
    licenseId: string,
    callback: null | ((this: void, data: TcHmi.Server.ADS.ICheckLicenseResult) => void) = null
): TcHmi.IErrorDetails;

Queries a license via the TwinCAT 3 ADS license server.

Parameter

Name

Type

Description

licenseId

string

The Id of the license to be checked.

callback

null, ((this: void, data: TcHmi.Server.ADS.ICheckLicenseResult) => void

This is triggered when the result of the operation is available.

Return value

Type

Description

TcHmi.IErrorDetails

Returns feedback as to whether the operation was successfully transferred to the TwinCAT HMI server.

checkLicense 1:

Available from version 1.12