Interface IClientNetworkFeature
Exposes normalized client-network facts collected for the current request.
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public interface IClientNetworkFeature
Remarks
This feature intentionally performs no proxy-trust, legitimacy, or request-behavior evaluation. Consumers decide how the actual peer address and any forwarded-IP information should affect filtering or other behavior.
Properties
| Edit this page View SourceForwardedIpChain
Gets forwarded-IP tokens observed in the request. Order is preserved within each source; standardized
Forwarded entries are collected before X-Forwarded-For entries when both are present.
Declaration
IReadOnlyList<ClientForwardedIpAddress> ForwardedIpChain { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ClientForwardedIpAddress> |
HasMalformedForwardedIpInformation
Gets a value indicating whether any forwarded-IP token was present but malformed.
Declaration
bool HasMalformedForwardedIpInformation { get; }
Property Value
| Type | Description |
|---|---|
| bool |
RemoteIpAddress
Gets the normalized actual remote peer address from HttpContext.Connection.RemoteIpAddress.
Declaration
IPAddress RemoteIpAddress { get; }
Property Value
| Type | Description |
|---|---|
| IPAddress |