dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / SslOptions Class / TlsProtocol Property

In This Topic
    TlsProtocol Property
    In This Topic
    Determines the preferred TLS protocol version reported to a server when establishing a secure connection.
    Syntax
    'Declaration
     
    Public Property TlsProtocol As String
    public string TlsProtocol {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).
    See Also