well theres multiple ways to get system info and display it in a string for a label but how would you do it for the graphics card (or chip)
is it possible to get the installed graphics card or chip to a labeli have cpu info, installed ram, and now id like the graphics card to
Page 1 of 1
2 Replies - 619 Views - Last Post: 03 June 2010 - 01:43 PM
#1
is it possible to get the installed graphics card or chip to a label
Posted 03 June 2010 - 12:25 PM
Replies To: is it possible to get the installed graphics card or chip to a label
#2
Re: is it possible to get the installed graphics card or chip to a label
Posted 03 June 2010 - 12:45 PM
#3
Re: is it possible to get the installed graphics card or chip to a label
Posted 03 June 2010 - 01:43 PM
yea i did and i found that but i dont know how to get some info that i need (actually alot of those controllers would be nice to have listed but not sure how to get the info i need) i was gonna use something like this
and im guessing that insted of
that id need
if thats the right one (not sure i can mess with it my self) but what i need to know is how do i know what.. i donno what its even called string? well what ever its this thing "totalphysicalmemory" how do i check to see what i can call from Win32_VideoController?
**Update** TOTALLY figured it out thanks alot i just used that programs demo and saw the names and did some trial and Error thanks alot you can delete this thread if needed. and just for the record what i used to get it was this
ManagementObjectSearcher query = new ManagementObjectSearcher("SELECT * FROM Win32_ComputerSystem");
ManagementObjectCollection coll = query.Get();
foreach (ManagementObject mo in coll)
{
RamLabel.Text = ("Total Ram Installed =" + " " + mo["totalphysicalmemory"].ToString());
}
and im guessing that insted of
Win32_ComputerSystem
that id need
Win32_VideoController
if thats the right one (not sure i can mess with it my self) but what i need to know is how do i know what.. i donno what its even called string? well what ever its this thing "totalphysicalmemory" how do i check to see what i can call from Win32_VideoController?
**Update** TOTALLY figured it out thanks alot i just used that programs demo and saw the names and did some trial and Error thanks alot you can delete this thread if needed. and just for the record what i used to get it was this
ManagementObjectSearcher query = new ManagementObjectSearcher("SELECT * FROM Win32_VideoController");
ManagementObjectCollection coll = query.Get();
foreach (ManagementObject mo in coll)
{
VideoCardLabel.Text = ("Graphics Card Installed =" + " " + mo["name"].ToString());
}
This post has been edited by NightsEvil: 03 June 2010 - 01:49 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|