Socket.OSSupportsIPv6 属性
定义
指示基础操作系统和网络适配器是否支持 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;否则为 false。true 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.