Get Client Computer IP Address in ASP.Net ?

Here I will show how you can get the IP address of Client Machine.

protected void Page_Load(object sender, EventArgs e)
{      
    Response.Write("Your IP Address: "+ Request.UserHostAddress );
}

Ebook Download
View all
Learn
View all