dotConnect for PostgreSQL Documentation
SslTlsProtocol Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : SslTlsProtocol Property

Determines the preferred TLS protocol version reported to a server when establishing a secure connection.

Syntax

Visual Basic (Declaration) 
Public Property SslTlsProtocol As String
C# 
public string SslTlsProtocol {get; set;}

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

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also