开发者

How to specify whether the windows is logged in or not in C# service application?

开发者 https://www.devze.com 2023-03-23 03:24 出处:网络
I\'ve implemented a service application, that works fine all the time, both when the user has log开发者_如何学编程ged in and when the windows is in log in mode, but need to know whether the user has b

I've implemented a service application, that works fine all the time, both when the user has log开发者_如何学编程ged in and when the windows is in log in mode, but need to know whether the user has been logged or windows is in logged off mode. how can i do that?


You need to enumerate the active logon sessions.

The answers to this question may help.

0

精彩评论

暂无评论...
验证码 换一张
取 消