Click or drag to resize
MimeKit

DefaultSecureMimeContext(String) Constructor

Initialize a new instance of the DefaultSecureMimeContext class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public DefaultSecureMimeContext(
	string password
)

Parameters

password  String
The password used for encrypting and decrypting the private keys.
Exceptions
ExceptionCondition
ArgumentNullExceptionpassword is null.
NotImplementedException Mono.Data.Sqlite is not available.
UnauthorizedAccessException The user does not have access to read the database at the default location.
IOException An error occurred reading the database at the default location.
Remarks

Allows the program to specify its own password for the default database.

Requires linking with Mono.Data.Sqlite.

See Also