Click or drag to resize
ArpPacket Class
Represents an ARP message which is either a request or response message.
Inheritance Hierarchy
SystemObject
  Network.Sim.Network.Ip.ArpArpPacket

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 class ArpPacket : Serializable

The ArpPacket type exposes the following members.

Constructors
  NameDescription
Public methodArpPacket(MacAddress, IpAddress, IpAddress)
Initializes a new instance of the ArpPacket class creating an ARP request message.
Public methodArpPacket(MacAddress, IpAddress, MacAddress, IpAddress)
Initializes a new instance of the ArpPacket class creating an ARP response message.
Top
Properties
  NameDescription
Public propertyIpAddressSender
The IPv4 address of the sender of this ARP packet.
Public propertyIpAddressTarget
The IPv4 address of the target of this ARP packet.
Public propertyIsRequest
Determines whether this ARP packet is a request message.
Public propertyIsResponse
Determines whether this ARP packet is a response message.
Public propertyMacAddressSender
The MAC-48 address of the sender of this ARP packet.
Public propertyMacAddressTarget
The MAC-48 address of the target of this ARP packet. This field is ignored in requests.
Top
Methods
  NameDescription
Public methodStatic memberDeserialize
Deserializes an ArpPacket instance from the specified sequence of bytes.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerialize
Serializes this instance of the ArpPacket class into a sequence of bytes.
Public methodToString
Returns a textual description of the ArpPacket instance.
(Overrides ObjectToString.)
Top
See Also