Code

HardwareLib

HardwareLib

VERSION 1 .2 RELEASED !

HardwareLib is a .NET Library that offers a set of functions to get information about your hardware such as motherboard, CPU , RAM ,Graphics Card, Network Adapter, CD/DVD Drives and Hard Drives… You can get device details (manufacturer, model, serial number, Name…. etc) HardwareLib use WMI to obtain informations about installed Devices please see the screenshot

How to use

CPU Class HardWareInfo.Cpu cpu = new Cpu(Cpu.CpusList0);

MessageBox.Show(cpu.GetName());

HDD Class

To get more information about partitions you should use LogicalDisk class

       foreach (string str in Hdd.DrivesList)
            {
                hdd.setDeviceID(str);

                comboBox1.Items.Add(hdd.Caption);

            }

            foreach (string str in LogicalDisk.LogicalDiskList)
         {
            LD.setDeviceID(str)
                        comboBox2.Items.Add(hdd.Caption);
                  }

Update 27/04/2012:

  • Bug Fix
  • Added Demo for GPU

Update 6/03/2011:

  • Added IsProcessorFeaturePresent Function
  • Added IsMMXSupported Function
  • Added Is3DNowSupported Function
  • Added IsSSE3Supported Function
  • Added IsSSE2Supported function
  • Added IsSSESupported function
by
by
by
by
by
by