Share via


GpuInformation.DeviceId Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the device ID of the GPU.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property DeviceId As Integer
public int DeviceId { get; internal set; }

Property Value

Type: System.Int32
The device ID for the GPU.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.