Asp.net core Portable.BouncyCastle是否跨平台?

Asp.net core Portable.BouncyCastle是否跨平台?,asp.net-core,.net-core,asp.net-core-2.0,bouncycastle,Asp.net Core,.net Core,Asp.net Core 2.0,Bouncycastle,如果我从ASP.NET Core 2 web应用程序中引用Portable.BouncyCastle,它会在Linux和MacOS上工作吗?我的ASP.NET Core 2应用程序是否仍能跨平台兼容?不,它不是跨平台的。它使用了一些类型,如System.Security.Cryptography.CspParameters,这些类型仅在.Net Core for Windows中实现。看 事实上,从2020年1月25日起,Portable.BouncyCastle和.Net Core 仅仅因为某

如果我从ASP.NET Core 2 web应用程序中引用Portable.BouncyCastle,它会在Linux和MacOS上工作吗?我的ASP.NET Core 2应用程序是否仍能跨平台兼容?

不,它不是跨平台的。它使用了一些类型,如
System.Security.Cryptography.CspParameters
,这些类型仅在.Net Core for Windows中实现。看

事实上,从2020年1月25日起,Portable.BouncyCastle和.Net Core


仅仅因为某些东西是针对.Net标准的,并不意味着它可以在非Windows操作系统上工作。有许多.Net标准API的.Net核心实现只是存根,抛出“未在此平台上实现”异常。

是的,因为它是.Net标准2.0库