![](/img/trans.png)
[英]MD5 does not exists in System.Security.Cryptography namespace
[英]System.Security.Cryptography namespace not available in .NET framework 5.4
如果是RC2,則拉入netstandard1.5
var aes = System.Security.Cryptography.Aes.Create();
IIRC net5.4不再正確,而且看起來您是多目標的,所以可能是這樣的:
#if NETSTANDARD1_5
var aes = System.Security.Cryptography.Aes.Create();
#else
var aes = Rijndael.Create();
#endif
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.