How to collect the information which hardware is connected to my pc using .Net technology..
-
Dear Friend, :confused:I want to collect the information of the hardware of my pc with there details using .net technology i know that it can be possible but dont know the direction can any one help me regarding this give me the proper direction and knowledge so that i can know exactly what is happening (i mean i dont want to copy pest the code but want to know the steps so it will be easy to me for my future also). thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005. Thanks and Regards Sasmi:rose: Sasmi
-
Dear Friend, :confused:I want to collect the information of the hardware of my pc with there details using .net technology i know that it can be possible but dont know the direction can any one help me regarding this give me the proper direction and knowledge so that i can know exactly what is happening (i mean i dont want to copy pest the code but want to know the steps so it will be easy to me for my future also). thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005. Thanks and Regards Sasmi:rose: Sasmi
First, you have to define what data you want to gather about the machine. Motherboard, BIOS, drives and their types, volumes on those drives, RAM, O/S installed, ... Then you have to can define WMI queries for all of this stuff to retrieve all the data you're looking for. You can then use the classes in the System.Management namespace to execute these queries and get as much data as you can.
Sasmi wrote:
thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005.
Visual Studio 2005 only works with .NET 2.0, not 1.1. If you have VS2005 installed, you automatically have .NET Framework 2.0 installed too.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
First, you have to define what data you want to gather about the machine. Motherboard, BIOS, drives and their types, volumes on those drives, RAM, O/S installed, ... Then you have to can define WMI queries for all of this stuff to retrieve all the data you're looking for. You can then use the classes in the System.Management namespace to execute these queries and get as much data as you can.
Sasmi wrote:
thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005.
Visual Studio 2005 only works with .NET 2.0, not 1.1. If you have VS2005 installed, you automatically have .NET Framework 2.0 installed too.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007