craziscoth Posted August 10, 2006 Share Posted August 10, 2006 I have some c++ code using the functions GetIfTable() and GetIfEntry() to retrieve the MAC Address. The problem is it doesn't always get MAC Address, though when I run ipconfig /all from the command line I can see that there is a valid MAC Address in those instances. I would use the GetAdaptersInfo() function except I need the code to run on Windows NT and XP and GetAdaptersInfo doesn't work on NT.Anyone have any suggestions to always be able to get the MAC Address?Thanks. Link to comment Share on other sites More sharing options...
CoffeeFiend Posted August 10, 2006 Share Posted August 10, 2006 (edited) . Edited November 7, 2006 by crahak Link to comment Share on other sites More sharing options...
craziscoth Posted August 10, 2006 Author Share Posted August 10, 2006 Thanks. I had already tried all the methods in the first link you provided and none were consistent across all platforms. But the method provided in that MS Article seems to have done the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now