A series of recent onslaughts, however, stand out from the crowd because the offenders have been taking advantage of TeamViewer sessions as the malware entry point.
To do the same with your system you would need to set up, host (pay for), and maintain a public server on the internet that all users of your program would talk to and act as the bridge for communications. Now both ends have outbound connections and don't need port forwarding. Team Viewer has a public server on the internet that both you and the person you are connecting to talk to and all it does is act as a bridge forwarding incoming messages from one end to the other end.
The way Team Viewer does this is there is a 3rd computer in the interaction. I hope someone can help me, or explain me what I'm doing wrong and how I can make it work. Private static void trigger(IAsyncResult i) bytes to server.", bytesSent) TheShot.CopyFromScreen(,, 0, 0,, CopyPixelOperation.SourceCopy) īinaryFormatter bFormat = new BinaryFormatter() Graphics theShot = Graphics.FromImage(screeny) Private void Form1_Load(object sender, EventArgs e)ĮventWatcher = new Thread(new ThreadStart(waitForKeys)) īitmap screeny = new Bitmap(,, PixelFormat.Format32bppArgb) Public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo) Here is the server class(I removed a lot of code, because it didn't make sense) public partial class Form1 : Form How can I make this work for outside my network? The only problem is that it doesn't work for computers outside of your own network (Maybe I connected the wrong IP? I tried the IPv4 of the guy and the IP from WhatIsMyIP ). I made a code so you can control a computer from an other computer. Is it possible to connect like TeamViewer? So I bypass the firewall and don't have to port forward? If yes, how? If someone could help me out it would be pretty awesome :)
I want to remote control 1 PC from an other PC, that part works, but you have to port forward the port. I figured out what the problem was, but now I faced an other.