7 references to OSSupportsIPv4
System.Net.NetworkInformation (3)
System\Net\NetworkInformation\LinuxIPGlobalProperties.cs (3)
11
return StringParsingHelpers.ParseActiveTcpConnectionsFromFiles(Socket.
OSSupportsIPv4
? NetworkFiles.Tcp4ConnectionsFile : null,
17
return StringParsingHelpers.ParseActiveTcpListenersFromFiles(Socket.
OSSupportsIPv4
? NetworkFiles.Tcp4ConnectionsFile : null,
23
return StringParsingHelpers.ParseActiveUdpListenersFromFiles(Socket.
OSSupportsIPv4
? NetworkFiles.Udp4ConnectionsFile : null,
System.Net.Sockets (4)
System\Net\Sockets\Socket.cs (2)
256
public static bool SupportsIPv4 =>
OSSupportsIPv4
;
805
if (!
OSSupportsIPv4
&& ipEndPoint != null && ipEndPoint.Address.IsIPv4MappedToIPv6)
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
747
attemptSocket = tempSocketIPv4 ??= (Socket.
OSSupportsIPv4
? new Socket(AddressFamily.InterNetwork, socketType, protocolType) : null);
System\Net\Sockets\UDPClient.cs (1)
712
if (Socket.
OSSupportsIPv4
)