| ISecureMimeContextDecompressAsync Method |
Asynchronously decompress the specified stream.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax Task<MimeEntity> DecompressAsync(
Stream stream,
CancellationToken cancellationToken = default
)
Parameters
- stream Stream
- The stream to decompress.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskMimeEntityThe decompressed mime part.
Exceptions Remarks
Asynchronously decompresses the specified stream.
See Also