C#示例为Windows家长控制API [英] C# Samples for Windows Parental Controls API
问题描述
任何人都可以点我对Windows家长控制API一些C#示例。我要添加一些功能,这将允许用户设置他们的孩子可以在一天进行登录的持续时间。我想这样做的一个F / OSS应用程序,以便其他人可以从这个太受益。
Can anyone point me to some C# samples for the Windows Parental Controls API. I want to add some functionality that will allow a user to set the duration their child can be logged on in a day. I want to do this as a F/OSS app so that others can benefit from this too.
干杯。
推荐答案
好像是没有办法实现这个使用MS Windows SDK中提供的API,并没有C#示例作为参考来使用。我想这对Windows 7和使这项工作的唯一方法是设置阻塞小时第一次有人每天登录到本机。
It seems like there is no way to achieve this using the MS Windows SDK provided API and no c# samples to use as a reference. I tried this for Windows 7 and the only way to make this work is to set the blocked hours the first time someone logs in to the machine each day.
这篇关于C#示例为Windows家长控制API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!