Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I see a lot of examples where key strokes/commands are sent to other applications on the same PC, but I need to send key stroke commands to another PC.
The goal here is that I press a key here, I need to execute that key (say it opens a program) on another PC without the need for a program installed on the client.
I want to do it from a .net application having buttons to send command

What I have tried:

I have read different methods but I am confused. No appropriate method I found there.
Posted
Updated 3-Jul-17 1:17am
Comments
Patrice T 3-Jul-17 7:19am    
The dream feature of any malware.

1 solution

You'll need an application running on the target PC that has some form of "listening" mechanism (usually a TCP/IP port) and the controlling PC would connect to that port on that machine and send instructions. The target PC will then receive the instructions and carry them out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900