label to display graphics card or total system ram through registry possibly?
Posted
by NightsEVil
on Stack Overflow
See other posts from Stack Overflow
or by NightsEVil
Published on 2010-06-02T10:28:22Z
Indexed on
2010/06/02
10:34 UTC
Read the original article
Hit count: 204
hi all i have this great code that i love that will display the kind of processor model and speed like so
RegistryKey Rkey = Registry.LocalMachine;
Rkey = Rkey.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0");
Labelproc.Text = (string)Rkey.GetValue("ProcessorNameString");
and i was wondering if theres a way to do this for the kind of graphics card and the total installed system ram (in separate labels)
© Stack Overflow or respective owner