 | SecureMimeContextDecompressAsync Method |
Asynchronously decompress the specified stream.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxpublic virtual Task<MimeEntity> DecompressAsync(
Stream stream,
CancellationToken cancellationToken = default
)
Parameters
- stream
- Type: System.IOStream
The stream to decompress. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskMimeEntityThe decompressed mime part.
Exceptions
Remarks
Asynchronously decompresses the specified stream.
See Also