Socket.SupportsIPv6 Socket.SupportsIPv6 Socket.SupportsIPv6 Socket.SupportsIPv6 Property

定义

警告

此 API 现已过时。

获取一个值,该值指示 Framework 对某些已过时的 Dns 成员是否支持 IPv6。Gets a value that indicates whether the Framework supports IPv6 for certain obsolete Dns members.

public:
 static property bool SupportsIPv6 { bool get(); };
[System.Obsolete("Use OSSupportsIPv6 instead")]
[System.Obsolete("SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead. http://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; }
member this.SupportsIPv6 : bool
Public Shared ReadOnly Property SupportsIPv6 As Boolean

属性值

如果 Framework 对某些已过时的 Dns 方法支持 IPv6,则为 true;否则为 falsetrue if the Framework supports IPv6 for certain obsolete Dns methods; otherwise, false.

注解

操作系统可能会支持 IPv4 和 IPv6 协议。The operating system may support both IPv4 and IPv6 protocols.

适用于

另请参阅