Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

C# Field Level Encryption Example

Are there any C# Driver examples showing how to use Field Level Encryption? Do the models define the encrypted fields as byte arrays or does the driver convert the string values to the bindata subtype 6?

For those who might be interested, I found the following example.

1 Like

Hi @Eddie_Conner,
glad that you found the example on the driver repository. Another example .NET/C# client encryption can be found at

Also, please see Client-Side Field Level Encryption Guide for more information.

1 Like