Export (0) Print
Expand All

NetworkInterface Methods

The NetworkInterface type exposes the following members.

  Name Description
Public method Equals(Object) 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 the default hash function. (Inherited from Object.)
Public method GetIPProperties Returns an object that describes the configuration of this network interface.
Public method GetIPStatistics Gets the IP statistics for this NetworkInterface instance.
Public method GetIPv4Statistics Gets the IPv4 statistics for this NetworkInterface instance.
Public method Static member Supported by Portable Class Library 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.)
© 2015 Microsoft