The Wayback Machine - https://web.archive.org/web/20100328171516/http://www.codeguru.com:80/cpp/i-n/network/networkinformation/

    Network Information

    Edit (Add/Remove/Modify) ARP Table

    Use this simple tool to display and modify the IP-to-Physical address translation tables used by ARP (Address Resolution Protocol), such as Windows command-line arp.exe.

    A New Method to Get MAC/NIC Statistical Information

    Discover a method to get statistical information about all local network interfaces. It is also a method to retrieve MAC addresses.

    Three ways to get your MAC address.

    Although there are no functions named GetMACaddress in the Win32 API, ATL, MFC, or C#, it is fairly easy to find and associate your MAC address with its related IP addresses.

    View Adapter Information using GetAdaptersInfo

    This function is a way to retrieve the unique information that globally identify the computer.

    Retrieving NIC information using SNMP queries

    Updated Source. Allows all NIC information to be retrieved with two function calls: GetNICCount() and GetNICInfo()

    Retrieval of Computer Names and their IP Addresses

    You can use this code to retrieve the host information in a network and also get the IP address of each PC.

    Change IP address and HostName of NT machine

    Change IP address and HostName of NT machine

    Extracting shared drive information from a local or remote server

    Extracting shared drive information from a local or remote server

    Adding Active Friends Lists to your Programs

    Adding Active Friends Lists to your Programs

    Network Enumerations (3)

    Network Enumerations (3)

    Network Enumeration(2)

    Network Enumeration(2)

    Network Enumerations

    Network Enumerations

    Get hostname and ip address of local computer

    Get hostname and ip address of local computer

    Get hostname and ip address of local computer (2)

    Get hostname and ip address of local computer (2)