This documentation is archived and is not being maintained.

NetworkInterface Members

Provides configuration and statistical information for a network interface.

The NetworkInterface type exposes the following members.

  NameDescription
Protected method NetworkInterface Initializes a new instance of the NetworkInterface class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetAllNetworkInterfaces Returns objects that describe the network interfaces on the local computer.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIPProperties Returns an object that describes the configuration of this network interface.
Public method GetIPv4Statistics Gets the IPv4 statistics.
Public method Static member GetIsNetworkAvailable Indicates whether any network connection is available.
Public method GetPhysicalAddress Returns the Media Access Control (MAC) or physical address for this adapter.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supports Gets a Boolean value that indicates whether the interface supports the specified protocol.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Description Gets the description of the interface.
Public property Id Gets the identifier of the network adapter.
Public property IsReceiveOnly Gets a Boolean value that indicates whether the network interface is set to only receive data packets.
Public property Static member LoopbackInterfaceIndex Gets the index of the IPv4 loopback interface.
Public property Name Gets the name of the network adapter.
Public property NetworkInterfaceType Gets the interface type.
Public property OperationalStatus Gets the current operational state of the network connection.
Public property Speed Gets the speed of the network interface.
Public property SupportsMulticast Gets a Boolean value that indicates whether the network interface is enabled to receive multicast packets.
Top
Show: