How to know when a user console is locked or has logged "back into" windows
Posted
by Paul Kohler
on Stack Overflow
See other posts from Stack Overflow
or by Paul Kohler
Published on 2010-05-06T21:43:29Z
Indexed on
2010/05/06
21:58 UTC
Read the original article
Hit count: 131
This is in regards to applications that run in the taskbar but should be applicable to standard apps, Winforms, WPF, etc.
Question: I am after some method (preferably via managed code) to be notified when a user either has their screen "locked" while my app is running and/or know when they log back in.
GMail Notifier does this sort of thing for example, if my PC is locked for a while when I log in again it shows a list of emails that arrived since locking the PC. I'm looking to replicate that kind of functionality.
Does anyone have any ideas on how to accomplish this?
© Stack Overflow or respective owner