AspNetRequestIpLayoutRenderer Properties |
The AspNetRequestIpLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
CheckForwardedForHeader |
Gets or sets whether the renderer should check value of ForwardedForHeader header
| |
CheckForwardedForHeaderOffset |
Gets or sets the array index of the X-Forwarded-For header to use, if the desired client IP is not at
the zeroth index. Defaults to zero. If the index is too large the last array element is returned instead.
If a negative index is used, this is used as the position from the end of the array.
Minus one will indicate the last element in the array. If the negative index is too large the first index
of the array is returned instead.
| |
ForwardedForHeader |
The header name to check for the Forwarded-For. Default "X-Forwarded-For". Needs CheckForwardedForHeader | |
HttpContextAccessor |
Provides access to the current request HttpContext.
(Inherited from AspNetLayoutRendererBase.) | |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) |