Send CTRL-ALT-DEL
-
Hi Does anyone knows how to send a hot key to a Computer on the network? I think I have to approach the keyboard. But how? I've read something about keyboard Hooks.. But I don't know wether it's what I'm searching for.. Regards from Germany
-
Hi Does anyone knows how to send a hot key to a Computer on the network? I think I have to approach the keyboard. But how? I've read something about keyboard Hooks.. But I don't know wether it's what I'm searching for.. Regards from Germany
You can't hook a remote keyboard. You can send commands to a remote service on that machine to send keyboard events (you don't want to hook them to send keyboard events, only to handle them - and you cannot handle Ctrl+Alt+Delete). For managed apps you can use the
SendKeys
class, but it's rather limited. For cases that you can't solve withSendKeys
P/InvokeSendInput
and create what native structs and constants you need. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]