GpuInformation Class

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

Represents details for graphics processor unit (GPU) information as reported by the system of the local computer.

Inheritance Hierarchy

System.Object
  System.Windows.GpuInformation

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

Syntax

'Declaration
Public Class GpuInformation
public class GpuInformation

The GpuInformation type exposes the following members.

Properties

  Name Description
Public property DeviceId Gets the device ID of the GPU.
Public property DriverVersion Gets the driver version of the GPU.
Public property VendorId Gets the vendor ID of the GPU.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

GpuInformation is reported as part of analytics for the system. For more information on system analytics, see Analytics.

More than one GPU can potentially exist in a multi-adapter configuration, although this depends on the client host system and its driver model. GPU information from Analytics is reported as a read-only generic collection property, GpuCollection. Each item in the collection is a GpuInformation instance. Unless reporting for a multi-adapter system, the relevant GPU information is the first and only item in the collection.

The collection is empty if no GPU exists.

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.