The information on this page refers to LM-X v4.9 and newer, which added HostIDs for Google Compute Engine and Azure. If you are using an older version of LM-X, refer to documentation for earlier versions. |
The LMX_Hostid function retrieves the HostID values from the computer system.
...
eHostidType
[in] Value that specifies the HostID type to be retrieved.
Possible values are:
HostID Type | Description |
LMX_HOSTID_ETHERNET | Network card HostID |
LMX_HOSTID_USERNAME | Username HostID |
LMX_HOSTID_HOSTNAME | Hostname HostID |
LMX_HOSTID_IPADDRESS | IP address HostID |
LMX_HOSTID_CUSTOM | Custom HostID |
LMX_HOSTID_DONGLE_HASPHL | HaspHL Dongle HostID |
LMX_HOSTID_HARDDISK | HostID of physical harddisk |
LMX_HOSTID_LONG | System-specific HostID |
LMX_HOSTID_BIOS | Bios HostID |
LMX_HOSTID_WIN_PRODUCT_ID | Windows product ID |
LMX_HOSTID_AWS_INSTANCE_ID | Amazon EC2 Instance ID |
LMX_HOSTID_ |
GCE_ID | Amazon Google Compute Engine ID |
LMX_HOSTID_AZURE_ID | Amazon Azure ID |
LMX_HOSTID_ALL | All HostIDs |
lpHostid
[out] Pointer to array of LMX_HOSTID structures. See lmx.h for a description of LMX_HOSTID. The array must be of size LMX_MAX_HOSTIDS.
...