Socket.SupportsIPv6 Property

 
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.

Note: This API is now obsolete.

Gets a value that indicates whether the Framework supports IPv6 for certain obsolete Dns members.

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

[ObsoleteAttribute("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv6 { get; }

Property Value

Type: System.Boolean

true if the Framework supports IPv6 for certain obsolete Dns methods; otherwise, false.

The operating system may support both IPv4 and IPv6 protocols.

.NET Framework
Available since 1.1
Return to top
Show: