PROPERTY

ForwardedHeadersOptions.KnownProxies

Configures an explicitly trusted forwarding peer; replace documentation address with reviewed topology.

Formal Syntax & Structure

csharp syntaxcsharp
options.KnownProxies.Add(IPAddress.Parse("192.0.2.10"));

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.options.KnownProxies.Add(IPAddress.Parse("192.0.2.10"));
C# & .NET Reference