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

SslTlsProtocol Property
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).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also