语言

Socket.SupportsIPv6 属性

定义

注意

SupportsIPv6 has been deprecated. Use OSSupportsIPv6 instead.

注意

SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202

注意

SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202

获取一个值,该值指示框架是否支持某些过时 Dns 成员的 IPv6。

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

属性值

true 如果框架支持某些过时 Dns 方法的 IPv6,则为 ;否则为 false。

特性

注解

操作系统可能同时支持 IPv4 和 IPv6 协议。

适用于

另请参阅