SslState.SslProtocol 属性

获取 SSL 协议版本。

语法

internal SslProtocols SslProtocol { get; }

属性值

SslProtocols 枚举值的按位组合,这些枚举值指定 SSL 协议版本。

注解

警告

SslState.SslProtocol 属性是内部的,不应在代码中直接使用。

在任何情况下,Microsoft 都不支持在生产应用程序中使用此属性。

要求

命名空间System.Net.Security

程序集:System(在 System.dll 中)

.NET Framework 版本:自 2.0 起可用。