Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to collect the information which hardware is connected to my pc using .Net technology..

How to collect the information which hardware is connected to my pc using .Net technology..

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiohardwarehelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sasmi
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • S 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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      S 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        S Offline
        S Offline
        Sasmi
        wrote on last edited by
        #3

        :rose:Thanks for the info. I will get understand the namespace for any other help i will disturbe you. Sasmi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups