IPGlobalStatistics.NumberOfInterfaces Property


Gets the number of network interfaces.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public abstract int NumberOfInterfaces { get; }

Property Value

Type: System.Int32

An Int64 value containing the number of network interfaces for the address family used to obtain this IPGlobalStatistics instance.

The data returned by this property includes loopback interfaces.

Network interfaces are also known as network adapters.

.NET Framework
Available since 2.0
Return to top