 | ICryptographyContextDecryptAsync Method |
Asynchronously decrypt the specified encryptedData.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
SyntaxTask<MimeEntity> DecryptAsync(
Stream encryptedData,
CancellationToken cancellationToken = default
)
Parameters
- encryptedData Stream
- The encrypted data.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskMimeEntityThe decrypted
MimeEntity.
Exceptions
Remarks
Asynchronously decrypts the specified encryptedData.
See Also