Click here to Skip to main content
11,409,922 members (53,938 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hello,
I need a code to identify the motherboard and which version, name graphics, how much graphics bus, and I bit Windows. thank you very much
Posted 21-Mar-13 2:15am
Comments
Maciej Los at 21-Mar-13 7:31am
   
Not a question... Please, be more specific and provide more details. Describe your problem and share a code. Where do you stuck? What have you done till now?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi Lahvicka,


Please refer links given below:


Retrieving Motherboard Serial Number using WMI

Getting Motherboard Information using C#

Get actual MotherBoard serial number


PC Info


For Graphics info:

Add a reference to System.Management, then you can do this:

 

ManagementObjectSearcher searcher 
     = new ManagementObjectSearcher("SELECT * FROM Win32_DisplayConfiguration");
 
    string graphicsCard = string.Empty;
    foreach (ManagementObject mo in searcher.Get())
    {
        foreach (PropertyData property in mo.Properties)
        {
           if (property.Name == "Description")
           {
               graphicsCard = property.Value.ToString();
           }
        }
    }
  Permalink  
Comments
Maciej Los at 21-Mar-13 17:20pm
   
Good hints, +5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Deependra Khangarot has a bunch of really good links...I just want to add this CP article to the list: How To Get Hardware Information (CPU ID, MainBoard Info, Hard Disk Serial, System Information , ...)[^]

Hope it helps.
  Permalink  
Comments
Maciej Los at 21-Mar-13 17:19pm
   
Nice link, +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 270
1 OriginalGriff 255
2 Maciej Los 138
3 Andy Lanng 105
4 Sascha Lefévre 95
0 Sergey Alexandrovich Kryukov 8,771
1 OriginalGriff 6,905
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 21 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100