Reputation: 548
Is it possible to use System.Security.Cryptography.X509Certificates in an UWP application? I get a reference error, but can't seem to find any existing library that includes this? Maybe a NuGet package?
Upvotes: 1
Views: 1421
Reputation: 4690
You can’t use the System.Security.Cryptography in the Universal Windows Platform App. It is included in the full .NET (desktop .NET), and the .NET for UWP does not have it.
As CryptoGuy suggested, you can use the Certificate class which is provided by the Windows Runtime Components.
UPDATE (11/2/2016)
According to the latest document .NET for UWP Apps, X509Certificates is included in .NET for UWP.
Upvotes: 2