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