| ICryptographyContextExportAsync Method |
Asynchronously exports the keys for the specified mailboxes.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax Task<MimePart> ExportAsync(
IEnumerable<MailboxAddress> mailboxes,
CancellationToken cancellationToken = default
)
Parameters
- mailboxes IEnumerableMailboxAddress
- The mailboxes.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskMimePartA new
MimePart instance containing the exported keys.
Exceptions Remarks
Asynchronously exports the keys for the specified mailboxes.
See Also