C# Class Mindscape.Raygun4Net.HttpRequestExtensions

Afficher le fichier Open project: MindscapeHQ/raygun4net

Méthodes publiques

Méthode 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 méthode

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
Résultat bool