Click or drag to resize

AspNetRequestIpLayoutRenderer Properties

The AspNetRequestIpLayoutRenderer type exposes the following members.

Properties
  NameDescription
Public propertyCheckForwardedForHeader
Gets or sets whether the renderer should check value of ForwardedForHeader header
Public propertyCheckForwardedForHeaderOffset
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.
Public propertyForwardedForHeader
The header name to check for the Forwarded-For. Default "X-Forwarded-For". Needs CheckForwardedForHeader
Public propertyHttpContextAccessor
Provides access to the current request HttpContext.
(Inherited from AspNetLayoutRendererBase.)
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.)
Protected propertyValueFormatter
Value formatter
(Inherited from LayoutRenderer.)
Top
See Also