[how to] send Control + ALT + DELETE

Jun 9, 2012 at 6:12 AM

hello 

i want to send a CONTROL + ALT + DELETE

I'v try to 

   var sim = new InputSimulator();

   sim.Keyboard.ModifiedKeyStroke(
                new[] { VirtualKeyCode.CONTROL, VirtualKeyCode.MENU },
                VirtualKeyCode.DELETE);

or 

 var sim = new InputSimulator();

 sim.Keyboard.ModifiedKeyStroke(
                new[] { VirtualKeyCode.LCONTROL, VirtualKeyCode.LMENU },
                VirtualKeyCode.DELETE);

without result ...

someone has an idee ?

Aug 21, 2012 at 8:56 PM

The short answer is you can't because this particular key combination sends a hardware interrupt signal from the physical keyboard.

For more information see:

http://techsupt.windowware.com/TS/T000001024F12.html

and

http://stackoverflow.com/questions/5047344/net-simulate-ctrlaltdel-sendkeys