| OpenPgpContextExportAsync(PgpPublicKeyRingBundle, Stream, Boolean, CancellationToken) Method |
Asynchronously export the public keyring bundle.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public Task ExportAsync(
PgpPublicKeyRingBundle keys,
Stream stream,
bool armor,
CancellationToken cancellationToken = default
)
Parameters
- keys PgpPublicKeyRingBundle
- The public keyring bundle to export.
- stream Stream
- The output stream.
- armor Boolean
- true if the output should be armored; otherwise, false.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions Remarks
Asynchronously exports the public keyring bundle.
See Also