Get display adapter name using .Net framework
Posted on 2009-06-30
I need to get the video adapter name, *similar* to what is availabe using DXDiag
Eg: Name: NVIDIA GeForce 7300 GT
However! I can not use DirectX SDK to obtain this data (due to project restrictions). Therefore, I need to get the equivalent information either directly from the registry (ugly) or via the Win32 API, or *ideally* using .Net Framework 2.0
Can you please provide a code sample C++ .Net preferred which demonstrates how to get the display adaptor name and some other attributes if possible, such as installed video memory etc.