14 references to IsIPv4MappedToIPv6
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
390if (address.IsIPv4MappedToIPv6)
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (1)
236else if (hostIP.IsIPv4MappedToIPv6)
System.Net.Primitives (3)
System\Net\IPAddress.cs (1)
93Debug.Assert(IsIPv4 || IsIPv4MappedToIPv6);
System\Net\IPNetwork.cs (2)
87if (address.AddressFamily != BaseAddress.AddressFamily && (BaseAddress.AddressFamily != AddressFamily.InterNetwork || !address.IsIPv4MappedToIPv6)) 98if (address.AddressFamily == AddressFamily.InterNetwork || address.IsIPv4MappedToIPv6)
System.Net.Requests (4)
System\Net\FtpControlStream.cs (4)
599string passiveCommand = (ServerAddress.AddressFamily == AddressFamily.InterNetwork || ServerAddress.IsIPv4MappedToIPv6) ? "PASV" : "EPSV"; 604string portCommand = (ServerAddress.AddressFamily == AddressFamily.InterNetwork || ServerAddress.IsIPv4MappedToIPv6) ? "PORT" : "EPRT"; 817for (int i = address.IsIPv4MappedToIPv6 ? 12 : 0; i < localAddressInBytes.Length; i++) 1126if (ServerAddress.AddressFamily == AddressFamily.InterNetwork || ServerAddress.IsIPv4MappedToIPv6)
System.Net.Sockets (5)
System\Net\Sockets\Socket.cs (4)
805if (!OSSupportsIPv4 && ipEndPoint != null && ipEndPoint.Address.IsIPv4MappedToIPv6) 3318bool isIPv4MappedToIPv6 = socketAddress.Family == AddressFamily.InterNetworkV6 && socketAddress.GetIPAddress().IsIPv4MappedToIPv6; 3577if ((boundAddress != null && IsDualMode && (boundAddress.IsIPv4MappedToIPv6 || boundAddress.Equals(IPAddress.IPv6Any)))) 3583&& (boundAddress == null || !boundAddress.IsIPv4MappedToIPv6))
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
739if (attemptSocket is not null && address.IsIPv4MappedToIPv6)