Using P/Invoke SendInput
-
Hi Does anyone knows how to Send a Hotkey using the WinApi? I want to send CTRL-ALT-DELETE to an Remote Client. I should use SendInput but I don't know how. Can anyone help me???? Best Regards
-
Hi Does anyone knows how to Send a Hotkey using the WinApi? I want to send CTRL-ALT-DELETE to an Remote Client. I should use SendInput but I don't know how. Can anyone help me???? Best Regards
You can't hook the remote keyboard, this has already been answered here[^].
- Nick Parker Microsoft MVP - Visual C#
My Blog | My Articles -
Hi Does anyone knows how to Send a Hotkey using the WinApi? I want to send CTRL-ALT-DELETE to an Remote Client. I should use SendInput but I don't know how. Can anyone help me???? Best Regards
You can't use SendInput on your machine to send keystrokes to a remote machine. You CAN use it if the remote machine is running a server application that responds to request from a client application on your machine. You can put the SendInput code in the server app and execute it on some signal that you come up with and send using the client app. But, then, Heath already told you this... If you need to figure out SendInput and C#, then Google for it! All you need to search for is "SendInput C#". Here[^], I've done it for you. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome