HttpRequest::IsLocal Property
.NET Framework (current version)
Gets a value indicating whether the request is from the local computer.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue if the request is from the local computer; otherwise, false.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: