IPAddress.IPv6None Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides an IP address that indicates that no network interface should be used. This property is read-only.

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

static val IPv6None : IPAddress

Field Value

Type: System.Net.IPAddress

The Socket.Bind method uses the IPv6None field to indicate that a Socket must not listen for client activity. The IPv6None field is equivalent to 0:0:0:0:0:0:0:0 in colon-hexadecimal notation, or to ::0 in compact notation.

The following code example displays the value of the current host's None address in standard compressed format.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: