Click or drag to resize

EncryptOptions Constructor

Initializes a new instance of the EncryptOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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