SecurityProtocol Enum

Definition

The SecurityProtocol enumeration is used to specify the security protocol used by a connection.

public enum SecurityProtocol
Inheritance
SecurityProtocol

Fields

Name Value Description
Pct1Server 1

Indicates that the server is using the PCT1 protocol. The value is equal to 1.

Pct1Client 2

Indicates that the client is using the PCT1 protocol. The value is equal to 2.

Ssl2Server 4

Indicates that the server is using the SSL2 protocol. The value is equal to 4.

Ssl2Client 8

Indicates that the client is using the SSL2 protocol. The value is equal to 8.

Ssl3Server 16

Indicates that the server is using the SSL3 protocol. The value is equal to 16.

Ssl3Client 32

Indicates that the client is using the SSL3 protocol. The value is equal to 32.

Tls1Server 64

Indicates that the server is using the TLS1 protocol. The value is equal to 64.

Tls1Client 128

Indicates that the client is using the TLS1 protocol. The value is equal to 128.

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)