DisplayMonitor.DisplayAdapterId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the locally unique identifier (LUID) of the display adapter to which the monitor is connected. Note that the display adapter to which the monitor is connected may not be the most suitable one for rendering.
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 system is restarted. This LUID is compatible with Direct3D, DisplayConfig, and HolographicSpace APIs.
public:
property DisplayAdapterId DisplayAdapterId { DisplayAdapterId get(); };
DisplayAdapterId DisplayAdapterId();
public DisplayAdapterId DisplayAdapterId { get; }
var displayAdapterId = displayMonitor.displayAdapterId;
Public ReadOnly Property DisplayAdapterId As DisplayAdapterId
Property Value
A DisplayAdapterId containing the numeric locally unique ID (LUID) of the display adapter to which the monitor is connected if known, otherwise null
.