NetworkInterfaceComponent Enumeration

 

Specifies the Internet Protocol versions that are supported by a network interface.

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

type NetworkInterfaceComponent

Member nameDescription
IPv4

Internet Protocol version 4.

IPv6

Internet Protocol version 6.

The values in this enumeration are used by the Supports method to specify the Internet Protocol version supported by a network interface.

The following code example checks whether a network interface supports IPv4.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: