Click or drag to resize
ArpLookup Method
Looks up the Layer-2 (MAC-48) physical address in the ARP cache for the specified IPv4 address.

Namespace: Network.Sim.Network.Ip.Arp
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MacAddress Lookup(
	Interface ifc,
	IpAddress ipAddress
)

Parameters

ifc
Type: Network.Sim.CoreInterface
The interface to look an address up for.
ipAddress
Type: Network.Sim.Network.IpIpAddress
The IPv4 address to look up the respective MAC-48 address for.

Return Value

Type: MacAddress
A MAC-48 address or null if the lookup could not be satisfied from the ARP cache.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the ipAddress parameter is null.
See Also