Click or drag to resize

EncryptOptions Constructor (String, OptionalString, OptionalNullableGuid)

Initializes a new instance of the EncryptOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public EncryptOptions(
	string algorithm,
	Optional<string> alternateKeyName = null,
	Optional<Nullable<Guid>> keyId = null
)

Parameters

algorithm
Type: SystemString
The encryption algorithm.
alternateKeyName (Optional)
Type: MongoDB.DriverOptionalString
The alternate key name.
keyId (Optional)
Type: MongoDB.DriverOptionalNullableGuid
The key Id.
See Also