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