Click or drag to resize
MimeKit

SecureMailboxAddress(Encoding, String, IEnumerableString, String, String) Constructor

Initialize a new instance of the SecureMailboxAddress class.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public SecureMailboxAddress(
	Encoding encoding,
	string name,
	IEnumerable<string> route,
	string address,
	string fingerprint
)

Parameters

encoding  Encoding
The character encoding to be used for encoding the name.
name  String
The name of the mailbox.
route  IEnumerableString
The route of the mailbox.
address  String
The address of the mailbox.
fingerprint  String
The fingerprint of the certificate belonging to the owner of the mailbox.
Exceptions
ExceptionCondition
ArgumentNullException

encoding is null.

-or-

route is null.

-or-

address is null.

-or-

fingerprint is null.

Remarks
Creates a new SecureMailboxAddress with the specified fingerprint.
See Also