Secure Mailbox Address(String, IEnumerableString, 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
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SecureMailboxAddress(
string name,
IEnumerable<string> route,
string address,
string fingerprint
)Parameters
- 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.
Remarks
Creates a new SecureMailboxAddress with the specified fingerprint.
Exceptions
| ArgumentNullException |
route is . -or- address is . -or- fingerprint is . |
| ArgumentException | route contains a null, empty or syntactically invalid domain. |