Always Encrypted using SqlConnection

Connection string

This .NET Framework Data Provider for SQL Server connection string can be used for connections to SQL Server 2019, SQL Server 2017, SQL Server 2016 and Azure SQL Database.

Data Source=myServer;Initial Catalog=myDB;Integrated Security=true;
Column Encryption Setting
=enabled;

Always Encrypted in System.Data.SqlClient is available only for .NET Framework, not .NET Core. To use Always Encrypted in .NET Core switch to Microsoft.Data.SqlClient (NuGet-package).