Share via


DisplayAdapter.Id Property

Definition

Gets a numeric locally unique ID (LUID) that refers to the runtime instance of the display adapter. This ID changes if the adapter's PnP device is stopped/started, or if the system reboots.

An LUID is a 64-bit value guaranteed to be unique only on the system on which it was generated. The uniqueness of an LUID is guaranteed only until the adapter's PnP device is stopped/started, or if the system is restarted. This LUID is compatible with Direct3D, DisplayConfig, and HolographicSpace APIs.

public:
 property DisplayAdapterId Id { DisplayAdapterId get(); };
DisplayAdapterId Id();
public DisplayAdapterId Id { get; }
var displayAdapterId = displayAdapter.id;
Public ReadOnly Property Id As DisplayAdapterId

Property Value

A DisplayAdapterId containing a locally unique numeric ID (LUID) value.

Applies to