Live Chat Icon For mobile
Live Chat Icon

How to get the IP address of the host accessing my site

Platform: ASP.NET| Category: Basic

VB.NET


Response.Write  (Request.UserHostAddress.ToString ())

C#


Response.Write  (Request.UserHostAddress.ToString ());

Share with

Share on twitter
Share on facebook
Share on linkedin