Click or drag to resize

ClientEncryption.DecryptAsync Method

Decrypts the specified value.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public Task<BsonValue> DecryptAsync(
	BsonBinaryData value,
	CancellationToken cancellationToken = null
)

Parameters

value
Type: MongoDB.Bson.BsonBinaryData
The value.
cancellationToken (Optional)
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task<BsonValue>
The decrypted value.
See Also