SecureMailboxAddress(Encoding, String, String, String) Constructor

Initialize a new instance of the SecureMailboxAddress class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SecureMailboxAddress(
	Encoding encoding,
	string name,
	string address,
	string fingerprint
)

Parameters

encoding  Encoding
The character encoding to be used for encoding the name.
name  String
The name of the mailbox.
address  String
The address of the mailbox.
fingerprint  String
The fingerprint of the certificate belonging to the owner of the mailbox.

Remarks

Creates a new SecureMailboxAddress with the specified fingerprint.

Exceptions

ArgumentNullException

encoding is .

-or-

address is .

-or-

fingerprint is .

See Also