 | ISecureMimeContextDecryptToAsync Method |
Asynchronously decrypts the specified encryptedData to an output stream.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
SyntaxTask DecryptToAsync(
Stream encryptedData,
Stream decryptedData,
CancellationToken cancellationToken = default
)
Parameters
- encryptedData Stream
- The encrypted data.
- decryptedData Stream
- The stream to write the decrypted data to.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions
Remarks
Asynchronously decrypts the specified encryptedData to an output stream.
See Also