How can you programmatically determine if an ASP.NET request is remote or local?
I found this: HttpContext.Current.Request.IsLocal
HttpContext.Current.Request.IsLocal
You can check the Request.UserHostAddress property.
yes HttpContext.Current.Request.IsLocal will work. I also use it in one of my projects and work great.