22 references to OSSupportsIPv4
SMSvcHost (1)
System\ServiceModel\Activation\TransportListener.cs (1)
46
if (Socket.
OSSupportsIPv4
)
System (12)
net\System\Net\Internal.cs (2)
556
if (Socket.
OSSupportsIPv4
)
577
if (Socket.
OSSupportsIPv4
&& (startIPOptions & StartIPOptions.StartIPv4) != 0){
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
257
if(Socket.
OSSupportsIPv4
){
286
if(Socket.
OSSupportsIPv4
&& (startIPOptions & StartIPOptions.StartIPv4) !=0){
net\System\Net\NetworkInformation\ping.cs (1)
746
if (ip.AddressFamily == AddressFamily.InterNetwork && !Socket.
OSSupportsIPv4
)
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (2)
158
if (Socket.
OSSupportsIPv4
) {
265
if (Socket.
OSSupportsIPv4
) {
net\System\Net\ServicePoint.cs (1)
245
if ( Socket.
OSSupportsIPv4
) {
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
425
if (Socket.
OSSupportsIPv4
)
net\System\Net\Sockets\Socket.cs (1)
941
if (!
OSSupportsIPv4
&& ipEndPoint != null && ipEndPoint.Address.IsIPv4MappedToIPv6)
net\System\Net\Sockets\TCPClient.cs (1)
221
if (Socket.
OSSupportsIPv4
){
net\System\Net\Sockets\UDPClient.cs (1)
338
if (Socket.
OSSupportsIPv4
){
System.Runtime.Remoting (4)
channels\core\corechannel.cs (1)
253
AddressFamily addressFamily = (Socket.
OSSupportsIPv4
) ? AddressFamily.InterNetwork : AddressFamily.InterNetworkV6;
channels\http\httpserverchannel.cs (1)
52
private IPAddress _bindToAddr = (Socket.
OSSupportsIPv4
) ? IPAddress.Any : IPAddress.IPv6Any; // address to bind to.
channels\tcp\tcpserverchannel.cs (2)
48
private IPAddress _bindToAddr = (Socket.
OSSupportsIPv4
) ? IPAddress.Any : IPAddress.IPv6Any; // address to bind to.
122
if (Socket.
OSSupportsIPv4
)
System.ServiceModel (2)
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
252
bool useIPv4 = (this.ListenUri.HostNameType != UriHostNameType.IPv6) && Socket.
OSSupportsIPv4
;
System\ServiceModel\Channels\TcpChannelListener.cs (1)
333
bool useIPv4 = Socket.
OSSupportsIPv4
;
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpUtility.cs (2)
73
ipV4Supported = Socket.
OSSupportsIPv4
;
237
ThrowIfNoSocketSupport(Socket.
OSSupportsIPv4
, Socket.OSSupportsIPv6);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (1)
121
return Socket.
OSSupportsIPv4
? DefaultIPv4MulticastAddress : DefaultIPv6MulticastAddress;