Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.09 KB

File metadata and controls

39 lines (24 loc) · 1.09 KB

SystemUuid method

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJBiosInfo

Applies to: ~>5.32

function SystemUuid: TGUID;

Description

Returns the BIOS' universal unique ID number (UUID) as a 16 byte number, encoded in the format specified by the SMBIOS reference specification.

This value will be globally unique.

Requires support for SMBIOS reference specification v2.1 or later.

Returns:

  • A TGUID containing the UUID.

    Special return values:

    • A TGUID with all bytes set to zero is returned if any of the following conditions apply:
      • the BIOS is not supported;
      • the BIOS does not specify a UUID;
      • any UUID provided by the BIOS is not 16 bytes long;
      • the BIOS does not support the SMBIOS reference specification v2.1 or later.
    • A TGUID with all bytes set to $FF is returned if no UUID is currently present but one could be set in future.

See also