is it possible to get the installed graphics card or chip to a label

i have cpu info, installed ram, and now id like the graphics card to

Page 1 of 1

2 Replies - 877 Views - Last Post: 03 June 2010 - 01:43 PM Rate Topic: -----

#1 NightsEvil  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 85
  • Joined: 23-May 10

is it possible to get the installed graphics card or chip to a label

Posted 03 June 2010 - 12:25 PM

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 This A Good Question/Topic? 0
  • +

Replies To: is it possible to get the installed graphics card or chip to a label

#2 elbielefeld  Icon User is offline

  • D.I.C Head

Reputation: 70
  • View blog
  • Posts: 216
  • Joined: 18-May 10

Re: is it possible to get the installed graphics card or chip to a label

Posted 03 June 2010 - 12:45 PM

Why not use the search?
http://www.dreaminco...rd-information/
Was This Post Helpful? 0
  • +
  • -

#3 NightsEvil  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 85
  • Joined: 23-May 10

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

            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

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1