SQLServerCertificateDatabase(DbConnection, String) Constructor

Initialize a new instance of the SQLServerCertificateDatabase class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SQLServerCertificateDatabase(
	DbConnection connection,
	string password
)

Parameters

connection  DbConnection
The SQL Server connection.
password  String
The password used for encrypting and decrypting the private keys.

Remarks

Creates a new SQLServerCertificateDatabase using the provided SQL Server database connection.

Exceptions

ArgumentNullException

connection is .

-or-

password is .

See Also