Click or drag to resize

AspNetRequestIpLayoutRendererForwardedForHeader Property

The header name to check for the Forwarded-For. Default "X-Forwarded-For". Needs CheckForwardedForHeader

Namespace:  NLog.Web.LayoutRenderers
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
public Layout ForwardedForHeader { get; set; }

Property Value

Type: Layout
See Also