简体   繁体   English

如何在C#中使用Crypt32.dll在Mono中兼容

[英]how use Crypt32.dll in C# to be compatible in mono

i'm trying to use native function of Crypt32.dll in C# program and after that i will use mono to run my app in linux. 我正在尝试在C#程序中使用Crypt32.dll的本机功能,此后,我将使用mono在Linux中运行我的应用程序。 is there any suggestion to do this ? 有什么建议吗? thanks. 谢谢。

Since Linux does not have a Crypto32.dll, you cannot call it natively. 由于Linux没有Crypto32.dll,因此无法以本地方式调用它。 You could try the System.Security.Cryptography or the Mono.Security.Cryptography namespace. 您可以尝试使用System.Security.CryptographyMono.Security.Cryptography命名空间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM