Windows 家长控制 API 的 C# 示例

标签 c# windows-7 parental-control

任何人都可以向我指出一些 Windows 家长控制 API 的 C# 示例。我想添加一些功能,允许用户设置他们的 child 在一天内可以登录的持续时间。我想将其作为 F/OSS 应用程序来执行,以便其他人也可以从中受益。

干杯。

最佳答案

这样的应用程序已经存在:LimitLogin .

你也可以使用 Limit User Logon Time (在 C# 中是微不足道的)。

Parental Controls WMI Provider API + ManagementClass Class

编辑:注销用户:ExitWindowsEx或命令(关机、PsShutdown 等)。

关于Windows 家长控制 API 的 C# 示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3177333/

相关文章:

c# - WinForms ComboBox DropDown 和 Autocomplete 窗口都出现

c# - Azure 表存储 SaveChanges 返回 "The requested operation is not implemented on the specified resource."

在 Windows 命令提示符下找不到 Java.exe

c++ - 如何 CreateProcessAsUser 并使其成为前景窗口?

c# - 通过 C# 代码更改复选框的文本大小

c# - 更聪明的where子句?

ios - 是否可以为 iOS 编写家长控制应用程序?

whitelist - 对于网站的 self 监管内容标签,是否有 ICRA 的替代方案?

win7 上的 WCF Duplex net.tcp 问题

ios - OurPact 家长控制 iOS 设备