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. C / C++ / MFC
  4. Reading a (MAC) Address on my (NIC) or any other hardware device information.

Reading a (MAC) Address on my (NIC) or any other hardware device information.

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++sysadminhardwarequestion
6 Posts 4 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.
  • R Offline
    R Offline
    rbwest86
    wrote on last edited by
    #1

    Hello again everyone, I am posting this after a long night of research. Hopefully when I wake up I can begin to take whatever helpful information replied to this message and continue onwards. My goal is to be able to read information from devices, and in this example my Network Interface Card. I want to learn how to do this in C++ which is why I posted here instead of the Hardware and Devices section. So what am I asking for? A good reference on where to start with reading information from hardware devices. Once again thank you all in advance for pointing me in the right direction. This web site has been nothing but helpful to me and I learn something new every time I browse around. V/R Rob

    R D J 3 Replies Last reply
    0
    • R rbwest86

      Hello again everyone, I am posting this after a long night of research. Hopefully when I wake up I can begin to take whatever helpful information replied to this message and continue onwards. My goal is to be able to read information from devices, and in this example my Network Interface Card. I want to learn how to do this in C++ which is why I posted here instead of the Hardware and Devices section. So what am I asking for? A good reference on where to start with reading information from hardware devices. Once again thank you all in advance for pointing me in the right direction. This web site has been nothing but helpful to me and I learn something new every time I browse around. V/R Rob

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      You could find the MAC address by calling GetAdaptersInfo()[^]

      “Follow your bliss.” – Joseph Campbell

      1 Reply Last reply
      0
      • R rbwest86

        Hello again everyone, I am posting this after a long night of research. Hopefully when I wake up I can begin to take whatever helpful information replied to this message and continue onwards. My goal is to be able to read information from devices, and in this example my Network Interface Card. I want to learn how to do this in C++ which is why I posted here instead of the Hardware and Devices section. So what am I asking for? A good reference on where to start with reading information from hardware devices. Once again thank you all in advance for pointing me in the right direction. This web site has been nothing but helpful to me and I learn something new every time I browse around. V/R Rob

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        rbwest86 wrote:

        ...reading information from hardware devices.

        This is a bit vague. What exactly are you looking for?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        R 1 Reply Last reply
        0
        • D David Crow

          rbwest86 wrote:

          ...reading information from hardware devices.

          This is a bit vague. What exactly are you looking for?

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          R Offline
          R Offline
          rbwest86
          wrote on last edited by
          #4

          Thanks for all to who responded. To answer your question, I am looking to retrieve any and all information if possible from any hardware device. This is a way for me to learn how to tap into the fingerprint of hardware devices such as (NIC)'s. All for learning experience. I am taking a Networking class and want to make a simple program which can retrieve information from the (NIC) or entire network.

          D 1 Reply Last reply
          0
          • R rbwest86

            Thanks for all to who responded. To answer your question, I am looking to retrieve any and all information if possible from any hardware device. This is a way for me to learn how to tap into the fingerprint of hardware devices such as (NIC)'s. All for learning experience. I am taking a Networking class and want to make a simple program which can retrieve information from the (NIC) or entire network.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            It's a broad subject. Some examples are here and here.

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            1 Reply Last reply
            0
            • R rbwest86

              Hello again everyone, I am posting this after a long night of research. Hopefully when I wake up I can begin to take whatever helpful information replied to this message and continue onwards. My goal is to be able to read information from devices, and in this example my Network Interface Card. I want to learn how to do this in C++ which is why I posted here instead of the Hardware and Devices section. So what am I asking for? A good reference on where to start with reading information from hardware devices. Once again thank you all in advance for pointing me in the right direction. This web site has been nothing but helpful to me and I learn something new every time I browse around. V/R Rob

              J Offline
              J Offline
              JudyL_MD
              wrote on last edited by
              #6

              Depending on what kind of information about hardware you're looking for, you could always use WMI[^] Judy

              Be wary of strong drink. It can make you shoot at tax collectors - and miss. Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

              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