Click or drag to resize
MimeKit

SqlCertificateDatabase(DbConnection, String) Constructor

Initialize a new instance of the SqlCertificateDatabase class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected SqlCertificateDatabase(
	DbConnection connection,
	string password
)

Parameters

connection  DbConnection
The database connection.
password  String
The password used for encrypting and decrypting the private keys.
Exceptions
ExceptionCondition
ArgumentNullException

connection is null.

-or-

password is null.

Remarks
Creates a new SqlCertificateDatabase using the provided database connection.
See Also