I need the key code for Alt+Ctrl+Del in c#, for example
const int KEYEVENTF_KEYUP = 0x2; const int KEYEVENTF_KEYDOWN = 0x0; keybd_event(0x11, 0, KEYEVENTF_KEYDOWN, 0); keybd_event(0x41, 0, KEYEVENTF_KEYDOWN, 0); keybd_event(0x11, 0, KEYEVENTF_KEYUP, 0); keybd_event(0x41, 0, KEYEVENTF_KEYUP, 0);
this is the code for ctrl+a.
Alt+Ctrl+Del is used by the operating system (I remember from the the old days, even the BIOS).
So I don’t think you can use it in C#, not even for sending the keystrokes.