System.Net.NetworkInformation.NetworkInterface: Method Members

The methods of System.Net.NetworkInformation.NetworkInterface are listed below. For a list of all members, see the NetworkInterface Members list.

See Also: Inherited members from System.Object

Public Methods

static
GetAllNetworkInterfaces() : NetworkInterface[]

Returns objects that describe the network interfaces on the local computer.

abstract
GetIPProperties() : IPInterfaceProperties

Returns an object that describes the configuration of this network interface.

abstract
GetIPv4Statistics() : IPv4InterfaceStatistics

Gets the IPv4 statistics for this System.Net.NetworkInformation.NetworkInterface instance.

static
GetIsNetworkAvailable() : bool

Indicates whether any network connection is available.

abstract
GetPhysicalAddress() : PhysicalAddress

Returns the Media Access Control (MAC) or physical address for this adapter.

abstract
Supports(NetworkInterfaceComponent) : bool

Gets a bool value that indicates whether the interface supports the specified protocol.