| ICryptographyContextDecryptAsync Method |
Asynchronously decrypt the specified encryptedData.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax Task<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