System.Security.Cryptography.Cng 5.0.0-preview.2.20160.6

Prefix Reserved
This is a prerelease version of System.Security.Cryptography.Cng.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package System.Security.Cryptography.Cng --version 5.0.0-preview.2.20160.6                
NuGet\Install-Package System.Security.Cryptography.Cng -Version 5.0.0-preview.2.20160.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0-preview.2.20160.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Security.Cryptography.Cng --version 5.0.0-preview.2.20160.6                
#r "nuget: System.Security.Cryptography.Cng, 5.0.0-preview.2.20160.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Security.Cryptography.Cng as a Cake Addin
#addin nuget:?package=System.Security.Cryptography.Cng&version=5.0.0-preview.2.20160.6&prerelease

// Install System.Security.Cryptography.Cng as a Cake Tool
#tool nuget:?package=System.Security.Cryptography.Cng&version=5.0.0-preview.2.20160.6&prerelease                

Provides cryptographic algorithm implementations and key management with Windows Cryptographic Next Generation API (CNG).

Commonly Used Types:

When using NuGet 3.x this package requires at least version 3.4.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 is compatible.  netstandard1.5 was computed.  netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid10 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed.  monotouch10 is compatible. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed.  uap10.0.16299 is compatible. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed.  xamarintvos10 is compatible. 
Xamarin.WatchOS xamarinwatchos was computed.  xamarinwatchos10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (193)

Showing the top 5 NuGet packages that depend on System.Security.Cryptography.Cng:

Package Downloads

Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.


Provides types for reading, exporting and verifying Authenticode X.509 v3 certificates. These certificates are signed with a private key that uniquely and positively identifies the holder of the certificate. Commonly Used Types: System.Security.Cryptography.X509Certificates.X509Certificate2 System.Security.Cryptography.X509Certificates.X509Certificate System.Security.Cryptography.X509Certificates.X509ContentType System.Security.Cryptography.X509Certificates.StoreLocation System.Security.Cryptography.X509Certificates.StoreName System.Security.Cryptography.X509Certificates.X509FindType System.Security.Cryptography.X509Certificates.X509ChainStatus System.Security.Cryptography.X509Certificates.X509Certificate2Collection System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension System.Security.Cryptography.X509Certificates.X509Chain When using NuGet 3.x this package requires at least version 3.4.


Provides support for PKCS and CMS algorithms. Commonly Used Types: System.Security.Cryptography.Pkcs.EnvelopedCms


The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.


Core components of ASP.NET Core Kestrel cross-platform web server.

GitHub repositories (44)

Showing the top 5 popular GitHub repositories that depend on System.Security.Cryptography.Cng:

Repository Stars
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
Version Downloads Last updated
5.0.0 277,229,251 11/9/2020
5.0.0-rc.2.20475.5 19,102 10/13/2020
5.0.0-rc.1.20451.14 61,789 9/14/2020
5.0.0-preview.8.20407.11 81,855 8/25/2020
5.0.0-preview.7.20364.11 24,924 7/21/2020
5.0.0-preview.6.20305.6 10,068 6/25/2020
5.0.0-preview.5.20278.1 4,066 6/10/2020
5.0.0-preview.4.20251.6 11,218 5/18/2020
5.0.0-preview.3.20214.6 1,301,590 4/23/2020
5.0.0-preview.2.20160.6 13,109 4/2/2020
5.0.0-preview.1.20120.5 12,550 3/16/2020
4.7.0 164,437,779 12/3/2019
4.7.0-preview3.19551.4 18,905 11/13/2019
4.7.0-preview2.19523.17 16,369 11/1/2019
4.7.0-preview1.19504.10 12,991 10/15/2019
4.6.1 1,001,454 11/18/2019
4.6.0 5,629,211 9/23/2019
4.6.0-rc1.19456.4 62,043 9/16/2019
4.6.0-preview9.19421.4 7,363 9/4/2019
4.6.0-preview9.19416.11 874 9/4/2019
4.6.0-preview8.19405.3 81,995 8/13/2019
4.6.0-preview7.19362.9 84,285 7/23/2019
4.6.0-preview6.19303.8 72,331 6/12/2019
4.6.0-preview6.19264.9 800 9/4/2019
4.6.0-preview5.19224.8 27,163 5/6/2019
4.6.0-preview4.19212.13 2,484 4/18/2019
4.6.0-preview3.19128.7 16,695 3/6/2019
4.6.0-preview.19073.11 14,769 1/29/2019
4.6.0-preview.18571.3 15,086 12/3/2018
4.5.2 3,730,248 1/14/2020
4.5.0 726,183,133 5/29/2018
4.5.0-rc1 190,835 5/6/2018
4.5.0-preview2-26406-04 194,879 4/10/2018
4.5.0-preview1-26216-02 136,350 2/26/2018
4.4.0 86,166,933 8/11/2017
4.4.0-preview2-25405-01 7,390 6/27/2017
4.3.0 1,050,845,888 11/15/2016
4.3.0-preview1-24530-04 352,588 10/24/2016
4.2.0 497,835,404 6/27/2016
4.1.0-rc2-24027 12,854,643 5/16/2016
4.0.0-beta-23516 232,140 11/18/2015
4.0.0-beta-23409 22,114 10/15/2015
4.0.0-beta-23225 4,395 9/2/2015