how to get graphics card info

fd97207

New member
Joined
Feb 3, 2004
Messages
1
hi

I want to know how I can I get and set the graphics card settings using c# and d3d or GDI+.

also does anyone know how can i run a c# win form app in full screen mode

sid
 
Not sure about the graphic card settings, but on the second point you can:
1) maximise the form on startup or
2) set the forms width to Screen.Width and height to Screen.Height on startup

SEVI
 
for fullscreen i would use DX definitely!
if you want to use SEVIs method then you have to set the WindowBorderStyle to no border

You can easily get all the gfx card settings by using of DX, just look at some samples, shouldnt be difficult to understand
 
You can use the Manager class from the Direct3D namespace to get some basic info about the card from the drivers. Then using the Adapters property (use 0 for default adapter), and then using the Information property of the Adapters property. (:))
Code:
Manager.Adapters(0).Information.Description
For example this will return the description of the card, which in most cases is the name and the model number of the card.
 
Back
Top