Windows System Events
Posted on 2003-12-08
I’ve been trying to get the answer to this question for a while now (MS news groups, google, etc.) without success.
Is there a way to trap the following events in .NET application:
1) user locks the computer (i.e. ctrl + alt + del -> lock computer)
2) user unlocks the computer
I need my C# windows application to react when those events happen. The app will be running on Windows 2000 and possibly XP machines.
Is this possible with .NET?
Extra points available if it’s possible :)