# Getting Started With Queryable Encryption in the MongoDB C# Driver

DevFeed: [Getting Started With Queryable Encryption in the MongoDB C# Driver](<https://devfeed.tech/articles/getting-started-with-queryable-encryption-in-the-mongodb-c-driver-21832.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2025/04/getting-started-with-queryable-encryption-in-the-mongodb-c-driver/>)

Author: Luce Carter

Published: 2025-04-22T12:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [data](<https://devfeed.tech/topics/data.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [atlas](<https://devfeed.tech/tags/atlas.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [data](<https://devfeed.tech/tags/data.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [github](<https://devfeed.tech/tags/github.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [security](<https://devfeed.tech/tags/security.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A tutorial on adding MongoDB Queryable Encryption to a healthcare application using the MongoDB C# driver. It covers prerequisites, the automatic encryption shared library, configuration updates, and encryption key-management helpers for protecting fields such as SSN and date of birth.

## Source excerpt

With the release of MongoDB 7.0 in August 2023, we introduced a feature called Queryable Encryption, the first of its kind. With queryable encryption, your data is encrypted, even at rest, with the se... The post Getting Started With Queryable Encryption in the MongoDB C# Driver appeared first on DEV.