System.Net.NetworkInformation.NetworkInterface Class

Provides configuration and statistical information for a network interface.

See Also: NetworkInterface Members

Syntax

public abstract class NetworkInterface

Remarks

This class encapsulates data for network interfaces, also known as adapters, on the local computer. You do not create instances of this class; the NetworkInterface.GetAllNetworkInterfaces method returns an array that contains one instance of this class for each network interface on the local computer.

Requirements

Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0