NetworkInterface.IPv6LoopbackInterfaceIndex Property

.NET Framework (current version)

Gets the index of the IPv6 loopback interface.

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

public static int IPv6LoopbackInterfaceIndex { get; }

Property Value

Type: System.Int32

Returns Int32.

The index for the IPv6 loopback interface.

A network interface may have different interface indexes for the IPv4 and IPv6 loopback interface. The P:System.Net.NetworkInformation.NetworkInterface.IPv6LoopbackInterfaceIndex property only returns the IPv6 loopback interface.

.NET Framework
Available since 4.5
Return to top