Returns objects that describe the network interfaces on the local computer.
| C# | Visual Basic |
public static NetworkInterface[] GetAllNetworkInterfaces()
Public Shared Function GetAllNetworkInterfaces As NetworkInterface()
A NetworkInterface array that contains objects that describe the available network interfaces, or an empty array if no interfaces are detected.
The network interfaces on a computer provide network connectivity.
Network interfaces are also known as network adapters.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE .NET 4.1 and later |