Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.
I want to develop a simple client/server application in C#, using Windows Form Application.

For example, when the button in client is clicked, it will get the IP address of the machine, and pass the IP address to the server. The server will display it, of course in another window.

How would I be able to do that?

Thanks.
Posted

 
Share this answer
 
v2
Comments
Hiren solanki 29-Sep-10 8:18am    
proper linking done.
You also can see this link for get the IP address of your machine.

http://www.csharp-examples.net/local-ip/[^]
http://netomatix.com/MachineIp.aspx[^]
 
Share this answer
 
v2

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