11 references to OSSupportsIPv6
System.Net.NetworkInformation (3)
System\Net\NetworkInformation\LinuxIPGlobalProperties.cs (3)
12
Socket.
OSSupportsIPv6
? NetworkFiles.Tcp6ConnectionsFile : null);
18
Socket.
OSSupportsIPv6
? NetworkFiles.Tcp6ConnectionsFile : null);
24
Socket.
OSSupportsIPv6
? NetworkFiles.Udp6ConnectionsFile : null);
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicApi.cs (1)
80
if (!Socket.
OSSupportsIPv6
)
System.Net.Sockets (6)
System\Net\Sockets\Socket.cs (3)
73
: this(
OSSupportsIPv6
? AddressFamily.InterNetworkV6 : AddressFamily.InterNetwork, socketType, protocolType)
75
if (
OSSupportsIPv6
)
254
public static bool SupportsIPv6 =>
OSSupportsIPv6
;
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
707
attemptSocket = tempSocketIPv6 ??= (Socket.
OSSupportsIPv6
? new Socket(AddressFamily.InterNetworkV6, socketType, protocolType) : null);
System\Net\Sockets\TCPListener.cs (1)
251
if (Socket.
OSSupportsIPv6
)
System\Net\Sockets\UDPClient.cs (1)
706
if (Socket.
OSSupportsIPv6
)
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
885
if (Socket.
OSSupportsIPv6
)