How To get Web Site Visitor IP Address in Dot Net?

 Posted by Vishalneeraj-24503 on 3/1/2015 | Category: Visual Studio Interview questions | Views: 722 | Points: 40

To get IP address of web site visitor,we can use below code as:-

string Visitor_IP_Address = Request.UserHostAddress.ToString();

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response