Getting Information about Network Adapters

This is a discussion on Getting Information about Network Adapters within the Windows Programming forums, part of the Platform Specific Boards category; I'm trying to retrieve a list of network adapters on my system and all relevent information about them. The information ...

  1. #1
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195

    Getting Information about Network Adapters

    I'm trying to retrieve a list of network adapters on my system and all relevent information about them. The information I require is:

    - Adapter Name
    - Adapter Description
    - Adapter GUID
    - IP Address
    - Subnet Mask
    - Gateway IP
    - Multicast IP
    - MAC Address
    - Connected Status
    - Interface Type (Ethernet, wireless, firewire, etc)
    - If DHCP is enabled
    - If DDNS is enabled.
    - Must Support IP_v6

    For the most part, the GetAdaptersAddresses() function gives me most of this information. However, it does not give me gateway info (on windows XP) and subnet mask IP. Is there a better way of getting that info without resulting to using WSA or polling the registry? Are there any Win32 functions that can get that info separately?

    Thanks.
    Last edited by Mastadex; 01-11-2010 at 02:21 PM.
    Founder and avid member of the Internationsl Typo Associateion

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 08:54 PM
  2. Advice- Network Config Application
    By xtal in forum C# Programming
    Replies: 3
    Last Post: 07-17-2006, 06:21 PM
  3. Need help with easy Network setup
    By the dead tree in forum Tech Board
    Replies: 9
    Last Post: 04-08-2005, 08:44 PM
  4. Mapping network drives
    By Morgan in forum Windows Programming
    Replies: 4
    Last Post: 07-19-2004, 05:07 AM
  5. Network Location
    By (TNT) in forum Windows Programming
    Replies: 2
    Last Post: 03-23-2002, 04:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21