Click or drag to resize
MimeKit

SecureMailboxAddress Constructor (Encoding, String, String, String)

Initialize a new instance of the SecureMailboxAddress class.

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

Parameters

encoding
Type: System.TextEncoding
The character encoding to be used for encoding the name.
name
Type: SystemString
The name of the mailbox.
address
Type: SystemString
The address of the mailbox.
fingerprint
Type: SystemString
The fingerprint of the certificate belonging to the owner of the mailbox.
Exceptions
ExceptionCondition
ArgumentNullException

encoding is null.

-or-

address is null.

-or-

fingerprint is null.

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