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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MAC address

MAC address

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 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.
  • A Offline
    A Offline
    ask_you
    wrote on last edited by
    #1

    system A am on a LAN. is it possible for system A to know the MAC address of all systems on the LAN. if so, how?

    N G 2 Replies Last reply
    0
    • A ask_you

      system A am on a LAN. is it possible for system A to know the MAC address of all systems on the LAN. if so, how?

      N Offline
      N Offline
      Nilesh K
      wrote on last edited by
      #2

      Check this[^]

      - Nilesh "Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw

      1 Reply Last reply
      0
      • A ask_you

        system A am on a LAN. is it possible for system A to know the MAC address of all systems on the LAN. if so, how?

        G Offline
        G Offline
        geo_m
        wrote on last edited by
        #3

        Depends on what you have - hardcore solution is to ping every machine on the LAN (for that you need to have IP addresses of the computers on the LAN) and if you'll get packet on the ethernet level you can get the MAC address from here (if there's no router or something between you and the machine, on LAN I assume there's nothing) But if you have some access to the computers (uid and password) I would try to use the WMI and the Win32_NetworkAdapterConfiguration ManagementClass.

        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