Socket.SupportsIPv6 Property

Definition

Warning

This API is now obsolete.

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

public:
 static property bool SupportsIPv6 { bool get(); };
[System.Obsolete("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv6 { get; }
[System.Obsolete("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv6 { get; }
[System.Obsolete("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv6 { get; }
public static bool SupportsIPv6 { get; }
[System.Obsolete("Use OSSupportsIPv6 instead")]
public static bool SupportsIPv6 { get; }
member this.SupportsIPv6 : bool
Public Shared ReadOnly Property SupportsIPv6 As Boolean

Property Value

Boolean

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

Attributes

Remarks

The operating system may support both IPv4 and IPv6 protocols.

Applies to

See also