語言

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 協定。

適用於

另請參閱