Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/263.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何从windows服务管理windows登录_C#_.net_Windows_Service - Fatal编程技术网

C# 如何从windows服务管理windows登录

C# 如何从windows服务管理windows登录,c#,.net,windows,service,C#,.net,Windows,Service,我必须创建一个触发多个事件的windows服务。如果触发了某些事件,pc需要登录用户。(用户名/密码在中央数据库中可用) 例如:检测到NFC标记/pendrive,请检查指定用户登录数据库中是否存在用户id。@EugenePodskal:不是重复的;触发登录与模拟不同。在Windows中,您尝试编写的软件称为凭据提供程序,该软件可修改登录屏幕的工作方式。文档不是很好,你可能想考虑使用第三方库,比如在我从来没有使用过的,但是听说过好东西的第三方库。@ HarryJohnston可能是对的,我误读了

我必须创建一个触发多个事件的windows服务。如果触发了某些事件,pc需要登录用户。(用户名/密码在中央数据库中可用)


例如:检测到NFC标记/pendrive,请检查指定用户登录数据库中是否存在用户id。

@EugenePodskal:不是重复的;触发登录与模拟不同。在Windows中,您尝试编写的软件称为凭据提供程序,该软件可修改登录屏幕的工作方式。文档不是很好,你可能想考虑使用第三方库,比如在我从来没有使用过的,但是听说过好东西的第三方库。@ HarryJohnston可能是对的,我误读了这个问题。我撤销我的接近票。@EugenePodskal:不是重复票;触发登录与模拟不同。在Windows中,您尝试编写的软件称为凭据提供程序,该软件可修改登录屏幕的工作方式。文档不是很好,你可能想考虑使用第三方库,比如在我从来没有使用过的,但是听说过好东西的第三方库。@ HarryJohnston可能是对的,我误读了这个问题。我撤销我的投票。