【发布时间】:2019-05-02 21:30:58
【问题描述】:
我尝试在我的 UWP 应用程序上读取/获取那些高级设置值,例如 让计算机进入睡眠状态 并按照这篇文章 How to get the value of advanced power settings 但在 UWP 中它不起作用,因为该示例仅适用于 Windows 8.1 和 WPF。
有人在他们的应用程序中尝试过这种功能吗?
我的唯一目标是从相应的设置中获取值。
【问题讨论】:
-
你可以看看 Windows.System.Power API.
标签: c# xamarin.forms uwp uwp-xaml xamarin.uwp