我有一个项目,在以下代码行抛出了错误:
var rsaCrypto = new RSACrypto(1024);
RSACrypto
原本在 mscorlib 4.0.0.0
的 System.Security.Cryptography.RSA
中。
但是,在mscorlib 5.0.5.0中并没有找到它(通过对象浏览器已确认):
怎么办?我该如何获取RSA以便编译?
我有一个项目,在以下代码行抛出了错误:
var rsaCrypto = new RSACrypto(1024);
RSACrypto
原本在 mscorlib 4.0.0.0
的 System.Security.Cryptography.RSA
中。
但是,在mscorlib 5.0.5.0中并没有找到它(通过对象浏览器已确认):
怎么办?我该如何获取RSA以便编译?
RSA
在Silverlight中不可用。mscorlib
程序集的引用问题。