Method | Description | |
---|---|---|
IsLocal ( this req ) : bool |
Returns true if the IP address of the request originator was 127.0.0.1 or if the IP address of the request was the same as the server's IP address. Credit to Filip W for the initial implementation of this method. See http://www.strathweb.com/2016/04/request-islocal-in-asp-net-core/ |