| OpenPgpContextExportAsync(PgpPublicKeyRingBundle, CancellationToken) Method |
Asynchronously export the specified public keys.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public Task<MimePart> ExportAsync(
PgpPublicKeyRingBundle keys,
CancellationToken cancellationToken = default
)
Parameters
- keys PgpPublicKeyRingBundle
- 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 specified public keys.
See Also