11 references to IPAddress
InMemory.FunctionalTests (1)
TestTransport\InMemoryHttpClientSlim.cs (1)
55address = new IPAddress(address.GetAddressBytes()); // Drop scope Id.
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
54address = new IPAddress(address.GetAddressBytes()); // Drop scope Id.
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (2)
57return new IPAddress(bytes); // TODO: Does scope id matter? 63return new IPAddress(new byte[] { _buffer[4], _buffer[5], _buffer[6], _buffer[7] });
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (2)
57return new IPAddress(bytes); // TODO: Does scope id matter? 63return new IPAddress(new byte[] { _buffer[4], _buffer[5], _buffer[6], _buffer[7] });
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerTests.cs (2)
1000resolvedEndPoint = new IPEndPoint(new IPAddress(ipEndPoint.Address.GetAddressBytes()), port); 1052resolvedEndPoint = new IPEndPoint(new IPAddress(ipEndPoint.Address.GetAddressBytes()), port);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (2)
57return new IPAddress(bytes); // TODO: Does scope id matter? 63return new IPAddress(new byte[] { _buffer[4], _buffer[5], _buffer[6], _buffer[7] });
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
214builder.Host = new IPAddress(ip.GetAddressBytes()).ToString(); // Without the scope id.