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. Ethernet MAC Address, SNMP method

Ethernet MAC Address, SNMP method

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadminhardwareregextutorial
1 Posts 1 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
    Rok
    wrote on last edited by
    #1

    Probably anyone, who has ever try to obtain mac address has found page at Winsock Programmer's FAQ and saw all three samples. The most "complicated" method there was SNMP method and it actually works everywhere i tryed. But (there is allways some but)... After enumerating all mac addresses for my devices, i found myself tiny little confused. I have 2 network cards, one for internal network and one for inet, but i have 4 mac addresses. After some clicking i found two more device drivers. Every one of those two has its own mac address!! Now the question... how to figure out which mac address is owned by actually hardware (2 ethernet cards)? I have found one way, to get ip address from winsock and snmp, then match them and get mac address for match, but it is kind a annoying... Thank you for reading this, Rok

    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