SecurityProtocol 列舉

定義

SecurityProtocol 列舉可用來指定連接所使用的安全性通訊協定。

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

欄位

名稱 Description
Pct1Server 1

表示伺服器正在使用 PCT1 協定。 該值等於1。

Pct1Client 2

表示用戶端正在使用 PCT1 協定。 該值等於 2。

Ssl2Server 4

表示伺服器正在使用 SSL2 協定。 該值等於 4。

Ssl2Client 8

表示用戶端正在使用 SSL2 協定。 這個值等於 8。

Ssl3Server 16

表示伺服器正在使用 SSL3 協定。 這個值等於16。

Ssl3Client 32

表示用戶端正在使用 SSL3 協定。 這個數值等於32。

Tls1Server 64

表示伺服器正在使用 TLS1 協定。 其數值為64。

Tls1Client 128

表示用戶端正在使用 TLS1 協定。 這個數值等於128。

適用於