Click or drag to resize
Frame Class
Represents an Ethernet frame.
Inheritance Hierarchy
SystemObject
  Network.Sim.Lan.EthernetFrame

Namespace: Network.Sim.Lan.Ethernet
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Frame : Serializable

The Frame type exposes the following members.

Constructors
  NameDescription
Public methodFrame
Initializes a new EthernetFrame instance using the specified values.
Top
Properties
  NameDescription
Public propertyCheckSequence
The Frame-Check-Sequence which is a 4-byte cyclic redundancy check.
Public propertyDestination
The physical address of the destination host of this frame.
Public propertyPayload
The payload data of the frame which will usually be encapsulated IP data.
Public propertySource
The physical address of the host which sent this frame.
Public propertyType
Indicates which protocol is encapsulated in the payload field.
Top
Methods
  NameDescription
Public methodStatic memberComputeCheckSequence
Computes the Frame-Check-Sequence (FCS) of the specified Ethernet frame.
Public methodStatic memberDeserialize
Deserializes an EthernetFrame 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 EthernetFrame class into a sequence of bytes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberMaximumPayloadSize
The maximum size of a frame's payload field, in bytes.
Top
See Also