Click or drag to resize
Nic Class
Represents an Ethernet Network Interface Card (NIC) which implements OSI Layer 1 and 2.
Inheritance Hierarchy

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 Nic : Nic

The Nic type exposes the following members.

Constructors
  NameDescription
Public methodNic
Initializes a new instance of the Nic class using the specified MAC address.
Top
Properties
  NameDescription
Public propertyConnector
The NIC's connector outlet.
(Inherited from Nic.)
Public propertyInterruptReason
The status register which contains the reason for the interrupt caused by the NIC.
(Inherited from Nic.)
Public propertyMacAddress
The Layer-2 physical address of the NIC which is stored inside ROM.
(Inherited from Nic.)
Public propertyMaximumTransmissionUnit
Returns the maximum transmission unit (MTU) of the NIC.
(Overrides NicMaximumTransmissionUnit.)
Top
Methods
  NameDescription
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 methodOutput
Wraps the specified data into an Ethernet frame and queues it for transmission.
(Overrides NicOutput(MacAddress, Byte, EtherType).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventInterrupt
The event that is raised when the NIC causes an interrupt.
(Overrides NicInterrupt.)
Top
See Also