Socket.SupportsIPv6 屬性

定義

警告

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

取得值,指出「架構」是否對某些已過時 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

屬性值

如果「架構」對某些已過時的 Dns 方法支援 IPv6,則為 true,否則為 false

屬性

備註

作業系統可能同時支援 IPv4 和 IPv6 通訊協定。

適用於

另請參閱