INtime SDK Help
INTIME_LICINFO structure
INtime SDK v7 > About INtime > Other system libraries > INtime License Library > INTIME_LICINFO structure

Contains information about the current license.

You can update this structure using IfwLicenseInfo or RtLicenseInfo.

Syntax

For INtime for Windows:

typedef struct _lic_info {
long lCode; ///< locking code (unique per HW, old-style licenses)
char lockingcode[LOCKS_SIZE]; ///< locking code string
char description[DESCR_SIZE]; ///< a textual description of the license
int iType; ///< locking type
    unsigned int  computerId;                 ///< USB CID key identifier
unsigned int sUsbSerial; ///< USB serial number as printed on housing
int nCores; ///< number of nodes enabled (0 = unrestricted)
GUID AccountGUID; ///< GUID of purchaser account
    GUID          VendorLicenseGUID;          ///< GUID of vendor license
char OtherDetails[DETAILS_SIZE]; ///< Other information
} INTIME_LICINFO;
 

For INtime Distributed RTOS:
typedef struct _lic_info {
long lCode; ///< locking code (unique per HW, older licenses)
char lockingcode[LOCKS_SIZE]; ///< locking code string
char description[DESCR_SIZE]; ///< a textual description of the license
int iType; ///< locking type
    unsigned long computerId;                 ///< unique ID assigned to CID key
unsigned long sUsbSerial; ///< (Not available on INtime Distributed RTOS)
int nCores; ///< number of cores enabled (0 = unrestricted)
GUID AccountGUID; ///< GUID of purchaser account
    GUID          VendorLicenseGUID;          ///< GUID of vendor license
char OtherDetails[DETAILS_SIZE]; ///< Other information
} INTIME_LICINFO;

Fields

lCode
locking code (unique per HW, old-style licenses).
lockingcode[LOCKS_SIZE]
locking code string.
description[DESCR_SIZE]  
a textual description of the license.
iType
locking type.
This field indicates the locking type of the license. It may take one of the following values:
TYPE_USB Locked to external locking device.
TYPE_HDD Locked to HDD ID (only on RAID).
TYPE_HDD_SN Locked to HDD serial number (default).
TYPE_ERR_SN The locking code does not match.
TYPE_ERR_LIC No license installed.
computerId
USB CID key identifier (INtime for Windows) / unique ID assigned to CID key (INtime Distributed RTOS)
sUsbSerial
USB serial number as printed on housing.
nCores
number of nodes enabled (0 = unrestricted).
AccountGUID
GUID of purchaser account.
To enable this string, the license must be an Enhanced License.
Licenses issued for V6 and earlier will not contain this information.
VendorLicenseGUID
GUID of vendor license.
To enable this string, the license must be an Enhanced License.
Licenses issued for V6 and earlier will not contain this information.
The VendorLicenseGIUD can be found on the My Account page as "Licensing Identifier".
OtherDetails[DETAILS_SIZE]
Other information.
Licenses issued for V6 and earlier will not contain this information.
See Also