Default Secure Mime Context Constructor
Initialize a new instance of the DefaultSecureMimeContext class.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public DefaultSecureMimeContext()Remarks
Not recommended for production use as the password to unlock the private keys is hard-coded.
Requires linking with Mono.Data.Sqlite.
Exceptions
| 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. |