C# Class Mindscape.Raygun4Net.HttpRequestExtensions

Datei anzeigen Open project: MindscapeHQ/raygun4net

Public Methods

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/

Method Details

IsLocal() public static method

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/
public static IsLocal ( this req ) : bool
req this
return bool