dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / SslOptions Class / Key Property

In This Topic
    Key Property
    In This Topic
    Gets or sets location of user's private key.
    Syntax
    'Declaration
     
    Public Property Key As String
    public string Key {get; set;}

    Property Value

    Location of private key to use.
    Remarks

    The location can be specified in two ways:

    - As file in the system: file://C:\Temp\Example.pem

    - As compiled resource. The correct format of the resource identifier is "resource://MyAssembly,ResourcePath", where MyAssembly stands for the assembly into which the resource is embedded (omit this if it the main assembly of the solution), and ResourcePath is the complete path to the resource.

    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