Socket.SupportsIPv6 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202
注意
SupportsIPv6 has been deprecated. Use OSSupportsIPv6 instead.
注意
SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202
获取一个值,该值指示 Framework 对某些已过时的 Dns 成员是否支持 IPv6。
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 has been deprecated. Use OSSupportsIPv6 instead.")]
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 is obsoleted for this type, please use OSSupportsIPv6 instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member SupportsIPv6 : bool
[<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. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member SupportsIPv6 : bool
static member SupportsIPv6 : bool
Public Shared ReadOnly Property SupportsIPv6 As Boolean
属性值
如果 Framework 对某些已过时的 Dns 方法支持 IPv6,则为 true
;否则为 false
。
- 属性
注解
操作系统可能同时支持 IPv4 和 IPv6 协议。