Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to Create IP Communication over internet to control one computer from another, using .net?

I mean how can we control one computer from another computer using IP communication, It will required and IP permission and it will make way to start communication.

user-image
Question added by Fakhr Uddin , Senior Desktop and Web developer , Sky Softs
Date Posted: 2014/08/05
Fakhr Uddin
by Fakhr Uddin , Senior Desktop and Web developer , Sky Softs

I am going to make an application over internet between two computers that can share their HDD, resources etc. like a chat application which is done via ip addresses. i have made this applicaiton via intranet but now i want to make it on internet. (Socket programming)

 

Khalid Omar
by Khalid Omar , Senior .NET Developer / Associate Technology Manager , Musafir.com (Universal Tourism)

The quickest way to do so is to develop a windows service that runs under "System Acount" (the most powerful windows acount, even more powerful than Administrator). The service will be deployed on the computer to be controlled remotly.

 

The service creates a socket server and listens for incoming connections. Once connected, your service runs a command prompt (console) window and directs output to you (the client). Anything you write will be executed by the service in the console window created for you. This technique requires redirecting standard input (stdin), standard output (stdout), and standard error (stderr) streams of the console window to your own custom streams within the service code.

 

This of course is not an easy task. But when done right, it gives you access to all command line tools including access to registry and disks.

 

Having said that, you may want to consider much simpler ready made alternatives such as Remote Desktop (RDP), VNC, TeamViewer, etc...

 

Hamid Anjum
by Hamid Anjum , Team Lead \ Sr. Software Engineer , University of Business and Technology, Jeddah

What do you mean by controlling computer with IP please mention your objective what you really want? what type of commnication? what type of application you are going to develop?

More Questions Like This