HttpRequest.IsLocal Property
.NET Framework 4.5
Gets a value indicating whether the request is from the local computer.
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 |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.