5 implementations of LocalIpAddress
Microsoft.AspNetCore.Http (1)
Features\HttpConnectionFeature.cs (1)
17public IPAddress? LocalIpAddress { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
205IPAddress IHttpConnectionFeature.LocalIpAddress
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
236IPAddress? IHttpConnectionFeature.LocalIpAddress
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.IHttpConnectionFeature.cs (1)
27IPAddress? IHttpConnectionFeature.LocalIpAddress
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
162IPAddress? IHttpConnectionFeature.LocalIpAddress
4 writes to LocalIpAddress
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
71set { HttpConnectionFeature.LocalIpAddress = value; }
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
86(feature, value) => feature.LocalIpAddress = IPAddress.Parse(Convert.ToString(value, CultureInfo.InvariantCulture))) },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestTests.cs (2)
105connectionInfo.LocalIpAddress = IPAddress.Any; 168connectionInfo.LocalIpAddress = null;
7 references to LocalIpAddress
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
70get { return HttpConnectionFeature.LocalIpAddress; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
739connectionFeature.LocalIpAddress = existingConnectionFeature.LocalIpAddress;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
85{ OwinConstants.CommonKeys.LocalIpAddress, new FeatureMap<IHttpConnectionFeature>(feature => feature.LocalIpAddress.ToString(),
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
RequestTests.cs (3)
45Assert.Equal("::1", connectionInfo.LocalIpAddress.ToString()); 106Assert.Equal(IPAddress.Any, connectionInfo.LocalIpAddress); 169Assert.Null(connectionInfo.LocalIpAddress);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Hubs.cs (1)
89feature.LocalIpAddress.ToString(),