Click or drag to resize
MimeKit

SecureMailboxAddress Constructor (String, String)

Note: This API is now obsolete.

Initialize a new instance of the SecureMailboxAddress class.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
[ObsoleteAttribute("Use new SecureMailboxAddress (string.Empty, address, fingerprint) instead.")]
public SecureMailboxAddress(
	string address,
	string fingerprint
)

Parameters

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

address is null.

-or-

fingerprint is null.

Remarks

Creates a new MailboxAddress with the specified address.

Note Note

The address must be in the form user@example.com.

This method cannot be used to parse a free-form email address that includes the name or encloses the address in angle brackets.

To parse a free-form email address, use Parse(String) instead.

See Also