开发者

How to find last window lock/unlock time in c#

I 开发者_运维技巧want to find the wheather my machine(XP installed) is locked or unlocked today. Can anybody know how to achieve this in C#?

Thanks


Use the SessionSwitchEventHandlerDelegate and log it every time they lock or unlock. Then you just consult your log.

Here's some sample code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜