HttpRequest.IsLocal Property
.NET Framework 3.0
Gets a value indicating whether the request is from the local computer.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The IsLocal property returns true if the IP address of the request originator is 127.0.0.1 or if the IP address of the request is the same as the server's IP address.
| Topic | Location |
|---|---|
| How to: Display Safe Error Messages | Building ASP .NET Web Applications |
| How to: Display Safe Error Messages | Building ASP .NET Web Applications |
Community Additions
ADD
Show: