Click or drag to resize
Frame Constructor
Initializes a new EthernetFrame instance using the specified values.

Namespace: Network.Sim.Lan.Ethernet
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Frame(
	MacAddress destination,
	MacAddress source,
	byte[] payload,
	EtherType type
)

Parameters

destination
Type: Network.Sim.LinkMacAddress
The physical address of the destination host.
source
Type: Network.Sim.LinkMacAddress
The physical address of the source host.
payload
Type: SystemByte
The data transmitted in the frame's payload field.
type
Type: Network.Sim.LinkEtherType
The type of the encapsulated protocol.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any of the arguments is null.
ArgumentExceptionThrown if the payload parameter does not satisfy the Ethernet 802.3 length requirements.
See Also