Windows Phone 8.1 System.Security.Cryptography不存在 [英] Windows Phone 8.1 System.Security.Cryptography doesn't exist

查看:233
本文介绍了Windows Phone 8.1 System.Security.Cryptography不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的Windows Phone 8.1应用程序中使用System.Security.Cryptography命名空间 - 特别是rsa提供程序。
但是我没有这样的命名空间可用,当我做一个Windows Phone应用程序。当我使用Siverlight的命名空间是有,但我不能找到它时创建标准Windows运行时应用程序。
MSDN文档说,RSACryptoServiceProvider在Windows Phone 8.1上可用,我需要引用任何额外的程序集来使它工作吗?

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?

推荐答案

在windows phone 8.1这是不同于windows phone 8.改用:

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

Using Windows.Security.Cryptography;

这篇关于Windows Phone 8.1 System.Security.Cryptography不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆