Thread: How to obtain MAC address under the win32?

  1. #1
    Registered User
    Join Date
    Mar 2008

    How to obtain MAC address under the win32?


    I'm a programmer and I need to find out how to obtain MAC address on win32. I alrady know, that I can't do it using ioctl() function like on linux.

    I found this thread on forum: I use linux on my desktop and I don't know widnows enviroment too good. I'd like to know if this method works in all modern Windows releases (XP, 2003, Vista and 2008). Also I want to know if in registry I can found MAC addresses of all installed network interfaces. At the end please tell me if all users in windows systme can read the registry? Is user with non administrator privilieges able to obtain such information from registry?

    thx for help!

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Rishon LeZion, Israel
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

  3. #3
    Registered User
    Join Date
    Mar 2008
    So there are even functions for doing this in winapi ths for hep!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mac OS X Users/C programmers?
    By petermichaux in forum C Programming
    Replies: 16
    Last Post: 04-18-2011, 06:36 AM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  3. Obtain local machine IP address
    By magic.mike in forum Windows Programming
    Replies: 4
    Last Post: 03-18-2005, 10:40 AM
  4. Im so lost at . .
    By hermit in forum C Programming
    Replies: 18
    Last Post: 05-15-2002, 01:26 AM
  5. doubly linked lists
    By cworld in forum C++ Programming
    Replies: 2
    Last Post: 04-21-2002, 09:33 AM