How do I trap windows key, alt+tab, ctrl+alt+delete in C#?

Suriyan Suresh picture Suriyan Suresh · Aug 28, 2009 · Viewed 9.4k times · Source

How do I trap Windows key, Alt+Tab, and Ctrl+Alt+Delete in a Windows application using C#?

Answer

Jan Bannister picture Jan Bannister · Aug 28, 2009

You can capture Ctrl-Alt-Delete. But you need to implement your own GINA dll which is loaded by Winlogon.

You'll need to code this up in C or C++ as it needs to be a native DLL.