Class ClientForwardedIpAddress
Represents one forwarded-IP token without assigning trust or legitimacy to it.
Inherited Members
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public sealed class ClientForwardedIpAddress
Properties
| Edit this page View SourceAddress
Gets the normalized IP address when the token could be parsed as an IP endpoint or address.
Declaration
public IPAddress? Address { get; }
Property Value
| Type | Description |
|---|---|
| IPAddress |
IsMalformed
Gets a value indicating whether the token was present but could not be interpreted as an IP address.
Declaration
public bool IsMalformed { get; }
Property Value
| Type | Description |
|---|---|
| bool |
RawValue
Gets the original trimmed token value.
Declaration
public string RawValue { get; }
Property Value
| Type | Description |
|---|---|
| string |
Source
Gets the header family that supplied the token.
Declaration
public ClientForwardedIpSource Source { get; }
Property Value
| Type | Description |
|---|---|
| ClientForwardedIpSource |