SecurityProtocol 枚举

定义

SecurityProtocol 枚举可用于指定连接使用的安全协议。The SecurityProtocol enumeration is used to specify the security protocol used by a connection.

public enum class SecurityProtocol
public enum SecurityProtocol
type SecurityProtocol = 
Public Enum SecurityProtocol
继承
SecurityProtocol

字段

Pct1Client 2

指示客户端使用的是 PCT1 协议。Indicates that the client is using the PCT1 protocol. 值等于 2。The value is equal to 2.

Pct1Server 1

指示服务器使用的是 PCT1 协议。Indicates that the server is using the PCT1 protocol. 值等于 1。The value is equal to 1.

Ssl2Client 8

指示客户端使用的是 SSL2 协议。Indicates that the client is using the SSL2 protocol. 值等于 8。The value is equal to 8.

Ssl2Server 4

指示服务器使用的是 SSL2 协议。Indicates that the server is using the SSL2 protocol. 值等于 4。The value is equal to 4.

Ssl3Client 32

指示客户端使用的是 SSL3 协议。Indicates that the client is using the SSL3 protocol. 值等于 32。The value is equal to 32.

Ssl3Server 16

指示服务器使用的是 SSL3 协议。Indicates that the server is using the SSL3 protocol. 值等于 16。The value is equal to 16.

Tls1Client 128

指示客户端使用的是 TLS1 协议。Indicates that the client is using the TLS1 protocol. 值等于 128。The value is equal to 128.

Tls1Server 64

指示服务器使用的是 TLS1 协议。Indicates that the server is using the TLS1 protocol. 值等于 64。The value is equal to 64.

适用于