How can you determine if an ASP.NET request is remote or local?

How can you programmatically determine if an ASP.NET request is remote or local?

+7
source share
3 answers
+13
source share

You can check the Request.UserHostAddress property.

0
source share

yes HttpContext.Current.Request.IsLocal will work. I also use it in one of my projects and work great.

0
source share

All Articles