dotConnect for MySQL Documentation
Devart.Data.MySql 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).
    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