The Microsoft DirectX Diagnostics application programming interface (API) enables you to programmatically query the information gathered by the DirectX Diagnostics Tool (DxDiag). DxDiag gathers information about the system and the DirectX components installed on it, as well as providing a number of tests to ensure that components are working properly.
A sample application is provided at (SDK root)\Samples\Managed\Misc\DxDiagOutput. The executable is at %windir%\system32\dxdiag.exe.
The following tables list the members exposed by the Microsoft.DirectX.Diagnostics namespace.
Container A diagnostics container. Contains properties and other containers. ContainerList Maintains a list of containers. PropertyList Maintains a list of properties.
ContainerData Holds the Container and its name. PropertyData Contains the property name and value.