【问题标题】:Detect Windows 10 S-Mode in UWP在 UWP 中检测 Windows 10 S-Mode
【发布时间】:2018-10-13 11:02:57
【问题描述】:

我正在开发需要检测 Windows 10 是否处于安全模式的 Windows 商店应用程序。是否有任何 API 调用来检测处于 S 模式的 Windows 10 操作系统?

【问题讨论】:

  • 安全模式常用于调试系统故障(开机失败、病毒),你说的是这个吗?它对应用的部署有何影响?
  • 我怀疑您可以使用 EasClientDeviceInformation 或可能的 ApiInformation.IsApiContractPresent 来执行此操作,但我无法确认,因为似乎无法在其中侧载(非商店)应用程序S 模式。

标签: uwp windows-store-apps


【解决方案1】:

尝试从 Windows 10 RS5、17763 开始使用 windowsintegritypolicy。否则,在 wldp.dll wldpgetlockdownpolicy 中有 winapi 函数调用,它将 s 模式的值输出为枚举。

【讨论】:

    猜你喜欢
    • 2018-05-02
    • 2021-09-28
    • 1970-01-01
    • 2019-12-08
    • 2016-12-08
    • 2018-03-10
    • 1970-01-01
    • 1970-01-01
    • 2016-10-12
    相关资源
    最近更新 更多