Versions Compared

Key

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


The information on this page refers to LM-X v5.3.1 and newer, which added support for Raspberry Pi HostIDs. If you are using an older version of LM-X, refer to documentation for earlier versions. 

The LMX_HostidSimple function retrieves the HostID from the computer system and returns it as a NULL-terminated string.

...

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_BIOS_HOSTID

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_RPI_SN

Raspberry Pi serial number

LMX_HOSTID_ALL

All HostIDs

szHostid
[out] Pointer to a string that will hold the HostID(s). The length of the string can be up to LMX_MAX_LONG_STRING_LENGTH.

...