2.) Put this at the using method
using System.Net;
3.) Make an TextBox Anywhere in the Form
4.) Double click the Form1 And it should take you to private void Form1_Load And add the following Code
//Get the host string myHost = System.Net.Dns.GetHostName(); // Get the IP string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString(); // Show IP this.textBox2.Text = (myIP);Your Done! Build it and it will show your IP I will add An Source Project
Need a Tut Written in C#? Feel free to ask me
This tut was brought to you by xXxStevenxXx of Blueshadowz
IP.rar 1.36MB 398 downloads