Looks up the Layer-2 (MAC-48) physical address in the ARP cache for
the specified IPv4 address.
Namespace: Network.Sim.Network.Ip.ArpAssembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic 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:
MacAddressA MAC-48 address or null if the lookup could not be satisfied
from the ARP cache.
Exceptions
See Also