Sitee.in

Get A responsive website for Free , mobile-first projects on the web.

How to get IP Address in Asp.net C#

By : sourabh

2016-03-23 08:55:42

How to get IP Address in Asp.net C#

How to get IP Address in Asp.net C#  in three Steps

1. HttpRequest request = base.Request;
2. string ipaddress =request.UserHostAddress;
3. Response.Write(ipaddress);//display ip address

You can also use textbox or lable to display ip address

--

Comment*
Website
Name*
Email*

*Required Field.

© 2015 blog.sitee.in