Walter.Net.Networking
GetAllMacAddressesAndIpPairs Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > LocalNetwork Class : GetAllMacAddressesAndIpPairs Method
True then will get IPV4 addresses
True then will get IPV6 addresses
Gets all mac addresses and IP PAIRS visible to the computer.
Syntax
public static List<MacIpPair> GetAllMacAddressesAndIpPairs( 
   bool ip4,
   bool ip6
)

Parameters

ip4
True then will get IPV4 addresses
ip6
True then will get IPV6 addresses

Return Value

List<MacIpPair>.
Remarks
This will use RRP broadcast to obtain the mac addresses for all devices connected with the DHCP server
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LocalNetwork Class
LocalNetwork Members