1 override of LocalIpAddress
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
68
public override IPAddress?
LocalIpAddress
6 references to LocalIpAddress
Microsoft.AspNetCore.Http.Abstractions (3)
ConnectionInfo.cs (3)
66
var localEndpoint =
LocalIpAddress
== null ? "(null)" : new IPEndPoint(
LocalIpAddress
, LocalPort).ToString();
83
public IPAddress? LocalIpAddress => _info.
LocalIpAddress
;
Microsoft.AspNetCore.HttpLogging (2)
W3CLoggingMiddleware.cs (2)
109
shouldLog |= AddToList(elements, _serverIpIndex, connectionInfo.
LocalIpAddress
is null ? "" : connectionInfo.
LocalIpAddress
.ToString());
Microsoft.AspNetCore.Rewrite (1)
PatternSegments\LocalAddressSegment.cs (1)
10
return context.HttpContext.Connection.
LocalIpAddress
?.ToString();