Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkInterface Methods

The NetworkInterface type exposes the following members.

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.)

Community Additions

© 2017 Microsoft