Reading Video Card String Description

  • Thread starter Thread starter Dean Landry
  • Start date Start date
D

Dean Landry

I'd like to read the string description of my video card from CSharp.
I'm thinking there might be a call to DirectX or a place in the registry
to look. Any ideas? I will be using the string to determine what class
of computer the program is running on within our organization.

Thanks,

Dean
 
Dean,

You can use the classes in the System.Management namespace to get the
instance of the Win32_VideoController WMI class. From there, you can get
the Description property to get the description of your video card (there
should be only one instance of the Win32_VideoController class when you
select it).

Hope this helps.
 
Back
Top