Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The information on this page refers to LM-X
v4
v5.3.
9
1 and newer, which added
HostIDs for Google Compute Engine and Azure
support for Raspberry Pi HostIDs.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_

GOOGLE_COMPUTE

GCE_

ENGINE_

ID

Amazon

Google Compute Engine ID

LMX_HOSTID_AZURE_ID

Amazon

Microsoft Azure ID

LMX_HOSTID_RPI_SN

Raspberry Pi serial number

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.

...