Is it possible to send the
CTRL+ALT+DEL keystrokes programmatically in a C# program?
I searched for a solution for this on msdn. I thought it would be possible
using the "sendkeys" windows API. But, i found an techsupport article
saying you cannot. here is the link to the article:
http://techsupt.windowware.com/TS/T000001024F12.html
Here is a snippet from the article:
"Sorry. You CANNOT send the CTRL-ALT-DELETE sequence using Sendkeys.
Ctrl-Alt-Del causes a hardware interrupt to occur, via direct wiring from
the keyboard. It is a hardware interrupt generated by the keyboard. It's
not the CTRL-ALT-DEL keystroke that is the problem, but that the keyboard
makes a special type of hardware interrupt request to the cpu that SendKey
cannot duplicate. "
If you need info on how to send keys in general, here is the link on msdn:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformssendkeysclasstopic.asp
--
Adrian Mascarenhas, Developer Division
This posting is provided "AS IS" with no warranties, and confers no rights.
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.