dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnectionStringBuilder Class / SslTlsProtocol Property

In This Topic
SslTlsProtocol Property
In This Topic
Determines the preferred TLS protocol version reported to a server when establishing a secure connection.
Syntax
'Declaration
 
Public Property SslTlsProtocol As String
 

Property Value

The preferred TLS protocol version reported to a server when establishing a secure connection.
Remarks
The default value is "1.1" to avoid errors with older server versions, not supporting TLS 1.2. Acceptable values are "1.0", "1.1", "1.2" (without quotes).
See Also