nidzo732
nidzo732

Reputation: 721

Windows Phone 8.1 System.Security.Cryptography doesn't exist

I need to use the System.Security.Cryptography namespace in my Windows Phone 8.1 app - specifically the rsa provider. But there is no such namespace available when i make a Windows Phone app. When I use Siverlight the namespace is there but I cant find it when creating standard Windows Runtime apps. The MSDN documentation says that RSACryptoServiceProvider is available on Windows Phone 8.1, do I need to reference any additonal assemblies to get it working?

Upvotes: 0

Views: 1376

Answers (1)

Ahmed El-Hansy
Ahmed El-Hansy

Reputation: 190

In windows phone 8.1 this is different from windows phone 8. Use this instead:

Using Windows.Security.Cryptography;

Upvotes: 3

Related Questions