Reputation: 46470
How can you programmatically determine if an an ASP.NET request is remote or from the localhost?
Upvotes: 7
Views: 205
Reputation: 249
yes HttpContext.Current.Request.IsLocal will must works. I am also using it in one of my project and working fine.
Upvotes: 0