Socket.OSSupportsIPv6 Socket.OSSupportsIPv6 Socket.OSSupportsIPv6 Socket.OSSupportsIPv6 Property

定义

指示基础操作系统和网络适配器是否支持 Internet 协议第 6 版 (IPv6)。Indicates whether the underlying operating system and network adaptors support Internet Protocol version 6 (IPv6).

public:
 static property bool OSSupportsIPv6 { bool get(); };
public static bool OSSupportsIPv6 { get; }
member this.OSSupportsIPv6 : bool
Public Shared ReadOnly Property OSSupportsIPv6 As Boolean

属性值

如果操作系统和网络适配器支持 IPv6 协议,则为 true;否则为 falsetrue if the operating system and network adaptors support the IPv6 protocol; otherwise, false.

注解

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

适用于

另请参阅