This documentation is archived and is not being maintained.

NetworkInterface Members

Provides configuration and statistical information for a network interface.

The following tables list the members exposed by the NetworkInterface type.

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

  Name Description
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 LoopbackInterfaceIndex Gets the index of an 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

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static 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 GetIsNetworkAvailable Indicates whether any network connection is available.
Public method GetPhysicalAddress Returns the Media Access Control (MAC) address for this adapter.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (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

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: