gpt4 book ai didi

windows - UWP 中的 X509Certificates

转载 作者:可可西里 更新时间:2023-11-01 11:49:42 26 4
gpt4 key购买 nike

是否可以在 UWP 应用程序中使用 System.Security.Cryptography.X509Certificates?我收到引用错误,但似乎无法找到包含此内容的任何现有库?也许是 NuGet 包?

最佳答案

您不能在通用 Windows 平台应用程序中使用 System.Security.Cryptography。它包含在完整的 .NET(桌面 .NET)中,而 UWP 的 .NET 没有。

正如 CryptoGuy 所建议的,您可以使用 Certificate class由 Windows 运行时组件提供。

更新(2016 年 11 月 2 日)

根据最新文档.NET for UWP Apps , X509Certificates 包含在 .NET for UWP 中。

关于windows - UWP 中的 X509Certificates,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33119720/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com