114 references to InterNetworkV6
System (84)
net\System\Net\_AutoWebProxyScriptHelper.cs (5)
585
SocketAddress saddrv6 = new SocketAddress(AddressFamily.
InterNetworkV6
,
591
AddressFamily.
InterNetworkV6
,
675
Socket s = new Socket(AddressFamily.
InterNetworkV6
, SocketType.Stream, ProtocolType.Tcp);
789
( (address.AddressFamily == AddressFamily.
InterNetworkV6
) &&
846
int MaxBytes = (prefixAddress.AddressFamily == AddressFamily.
InterNetworkV6
)?IPAddress.IPv6AddressBytes:IPAddress.IPv4AddressBytes;
net\System\Net\_FtpControlStream.cs (1)
1130
} else if (ServerAddress.AddressFamily == AddressFamily.
InterNetworkV6
) {
net\System\Net\DNS.cs (3)
394
if ( address.AddressFamily == AddressFamily.
InterNetworkV6
) {
515
if (IPAddress.TryParse(hostName, out address) && (address.AddressFamily != AddressFamily.
InterNetworkV6
|| Socket.LegacySupportsIPv6))
1142
(pAddressInfo->ai_family == AddressFamily.
InterNetworkV6
&& Socket.OSSupportsIPv6))
net\System\Net\DnsEndPoint.cs (1)
34
addressFamily != AddressFamily.
InterNetworkV6
&&
net\System\Net\Internal.cs (1)
565
ipv6Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.
InterNetworkV6
, SocketType.Dgram, (ProtocolType)0, true, false);
net\System\Net\IPAddress.cs (21)
84
m_Family = AddressFamily.
InterNetworkV6
;
103
m_Family = AddressFamily.
InterNetworkV6
;
129
m_Family = AddressFamily.
InterNetworkV6
;
190
SocketAddress saddr = new SocketAddress(AddressFamily.
InterNetworkV6
, SocketAddress.IPv6AddressSize);
195
AddressFamily.
InterNetworkV6
,
325
if ( m_Family == AddressFamily.
InterNetworkV6
) {
335
if ( m_Family == AddressFamily.
InterNetworkV6
) {
354
if (m_Family == AddressFamily.
InterNetworkV6
) {
429
if ( m_Family == AddressFamily.
InterNetworkV6
) {
437
SocketAddress saddr = new SocketAddress(AddressFamily.
InterNetworkV6
, SocketAddress.IPv6AddressSize);
553
if ( address.m_Family == AddressFamily.
InterNetworkV6
) {
566
if ( m_Family == AddressFamily.
InterNetworkV6
) {
585
return ( m_Family == AddressFamily.
InterNetworkV6
) &&
598
return ( m_Family == AddressFamily.
InterNetworkV6
) &&
610
return ( m_Family == AddressFamily.
InterNetworkV6
) &&
617
return ( m_Family == AddressFamily.
InterNetworkV6
) &&
626
if (AddressFamily != AddressFamily.
InterNetworkV6
) {
650
if ( m_Family == AddressFamily.
InterNetworkV6
) {
690
if ( m_Family == AddressFamily.
InterNetworkV6
) {
713
case AddressFamily.
InterNetworkV6
:
723
if (AddressFamily == AddressFamily.
InterNetworkV6
)
net\System\Net\IPEndPoint.cs (1)
118
if (m_Address.AddressFamily == AddressFamily.
InterNetworkV6
)
net\System\Net\NetworkInformation\NetworkAddressChange.cs (1)
266
s_ipv6Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.
InterNetworkV6
, SocketType.Dgram, (ProtocolType)0, true, false);
net\System\Net\NetworkInformation\ping.cs (2)
628
ipv6 = (address.AddressFamily == AddressFamily.
InterNetworkV6
)?true:false;
749
else if ((ip.AddressFamily == AddressFamily.
InterNetworkV6
&& !Socket.OSSupportsIPv6))
net\System\Net\NetworkInformation\SystemIcmpV6Statistics.cs (1)
39
uint result = UnsafeNetInfoNativeMethods.GetIcmpStatisticsEx(out stats,AddressFamily.
InterNetworkV6
);
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (7)
206
(uint)AddressFamily.
InterNetworkV6
,
214
(uint)AddressFamily.
InterNetworkV6
,
310
(uint)AddressFamily.
InterNetworkV6
,
317
(uint)AddressFamily.
InterNetworkV6
,
362
return new SystemIPGlobalStatistics(AddressFamily.
InterNetworkV6
);
369
return new SystemTcpStatistics(AddressFamily.
InterNetworkV6
);
376
return new SystemUdpStatistics(AddressFamily.
InterNetworkV6
);
net\System\Net\NetworkInformation\SystemUnicastIPAddressInformation.cs (1)
152
Contract.Requires((family == AddressFamily.InterNetwork) || (family == AddressFamily.
InterNetworkV6
));
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (1)
118
? AddressFamily.
InterNetworkV6
: AddressFamily.InterNetwork;
net\System\Net\ServicePoint.cs (1)
250
socket6 = new Socket(AddressFamily.
InterNetworkV6
,SocketType.Stream,ProtocolType.Tcp);
net\System\Net\SocketAddress.cs (2)
142
if (ipAddress.AddressFamily == AddressFamily.
InterNetworkV6
) {
177
if (Family == AddressFamily.
InterNetworkV6
) {
net\System\Net\Sockets\_MultipleConnectAsync.cs (3)
43
endPoint.AddressFamily == AddressFamily.
InterNetworkV6
,
431
socket6 = new Socket(AddressFamily.
InterNetworkV6
, socketType, protocolType);
450
if (rval.AddressFamily == AddressFamily.
InterNetworkV6
)
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (2)
79
IPAddress ipAddress = (socketAddress.Family == AddressFamily.
InterNetworkV6
83
bool ipv6 = ((Socket)AsyncObject).AddressFamily == AddressFamily.
InterNetworkV6
;
net\System\Net\Sockets\ProtocolFamily.cs (1)
119
InterNetworkV6 = AddressFamily.
InterNetworkV6
,
net\System\Net\Sockets\Socket.cs (19)
132
: this(AddressFamily.
InterNetworkV6
, socketType, protocolType) {
202
if (addressFamily != AddressFamily.InterNetwork && addressFamily != AddressFamily.
InterNetworkV6
) {
224
else if(addressFamily == AddressFamily.
InterNetworkV6
) {
726
else if (addressFamily == AddressFamily.
InterNetworkV6
) {
745
else if (addressFamily == AddressFamily.
InterNetworkV6
) {
779
else if (addressFamily == AddressFamily.
InterNetworkV6
) {
792
else if (addressFamily == AddressFamily.
InterNetworkV6
) {
813
if (AddressFamily != AddressFamily.
InterNetworkV6
) {
819
if (AddressFamily != AddressFamily.
InterNetworkV6
) {
828
return AddressFamily == AddressFamily.
InterNetworkV6
&& DualMode;
1076
if (addressFamily != AddressFamily.InterNetwork && addressFamily != AddressFamily.
InterNetworkV6
) {
1100
if (addressFamily != AddressFamily.InterNetwork && addressFamily != AddressFamily.
InterNetworkV6
) {
2284
if (addressFamily == AddressFamily.
InterNetworkV6
) {
3091
if (addressFamily != AddressFamily.InterNetwork && addressFamily != AddressFamily.
InterNetworkV6
) {
3160
if (addressFamily != AddressFamily.InterNetwork && addressFamily != AddressFamily.
InterNetworkV6
) {
6011
AddressFamily.
InterNetworkV6
,
6459
if (this.addressFamily == AddressFamily.
InterNetworkV6
9189
IPAddress ipAddress = (m_SocketAddress.Family == AddressFamily.
InterNetworkV6
9193
bool ipv6 = m_CurrentSocket.AddressFamily == AddressFamily.
InterNetworkV6
;
net\System\Net\Sockets\TCPClient.cs (2)
80
if ( family != AddressFamily.InterNetwork && family != AddressFamily.
InterNetworkV6
) {
225
ipv6Socket = new Socket(AddressFamily.
InterNetworkV6
, SocketType.Stream, ProtocolType.Tcp);
net\System\Net\Sockets\UDPClient.cs (5)
54
if ( family != AddressFamily.InterNetwork && family != AddressFamily.
InterNetworkV6
) {
92
if ( family != AddressFamily.InterNetwork && family != AddressFamily.
InterNetworkV6
) {
342
ipv6Socket = new Socket(AddressFamily.
InterNetworkV6
, SocketType.Dgram, ProtocolType.Udp);
880
if ( m_Family != AddressFamily.
InterNetworkV6
) {
992
if ( m_Family != AddressFamily.
InterNetworkV6
) {
net\System\Net\UnsafeNativeMethods.cs (3)
3170
SocketAddress v6address = new SocketAddress(AddressFamily.
InterNetworkV6
, SocketAddress.IPv6AddressSize);
3198
SocketAddress v6address = new SocketAddress(AddressFamily.
InterNetworkV6
, SocketAddress.IPv6AddressSize);
3294
if (addressFamily == (ushort) AddressFamily.
InterNetworkV6
)
System.Net (5)
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
87
if ((m_endPoint != null) && (m_endPoint.AddressFamily != AddressFamily.
InterNetworkV6
)){
119
if ((m_endPoint != null) && (m_endPoint.AddressFamily != AddressFamily.
InterNetworkV6
)){
net\PeerToPeer\SystemNetHelpers.cs (3)
16
byte[] buffer = new byte[ipEndPoint.AddressFamily == AddressFamily.
InterNetworkV6
? IPv6AddressSize : IPv4AddressSize];
24
if (ipEndPoint.AddressFamily == AddressFamily.
InterNetworkV6
)
75
else if ((AddressFamily)addressFamily == AddressFamily.
InterNetworkV6
)
System.Runtime.Remoting (5)
channels\core\corechannel.cs (1)
253
AddressFamily addressFamily = (Socket.OSSupportsIPv4) ? AddressFamily.InterNetwork : AddressFamily.
InterNetworkV6
;
channels\core\socketcache.cs (2)
89
if (address.AddressFamily == AddressFamily.
InterNetworkV6
)
132
return CreateNewSocket(AddressFamily.
InterNetworkV6
);
channels\http\httpserverchannel.cs (1)
165
if (_bindToAddr.AddressFamily == AddressFamily.
InterNetworkV6
)
channels\tcp\tcpserverchannel.cs (1)
187
if (_bindToAddr.AddressFamily == AddressFamily.
InterNetworkV6
)
System.ServiceModel (13)
System\ServiceModel\Channels\PeerIPHelper.cs (3)
231
if (address.AddressFamily != AddressFamily.
InterNetworkV6
)
374
return address.AddressFamily == AddressFamily.
InterNetworkV6
;
445
this.ipv6Socket = new Socket(AddressFamily.
InterNetworkV6
, SocketType.Stream, ProtocolType.IP);
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (3)
135
if (address.AddressFamily == AddressFamily.
InterNetworkV6
)
156
this.sin6_family = (short)AddressFamily.
InterNetworkV6
;
189
if (!(this.sin6_family == (short)AddressFamily.
InterNetworkV6
))
System\ServiceModel\Channels\PnrpPeerResolver.cs (4)
451
if (address.AddressFamily == AddressFamily.
InterNetworkV6
1263
else if (endpoint.AddressFamily == AddressFamily.
InterNetworkV6
)
1268
sa.sin6_family = (short)AddressFamily.
InterNetworkV6
;
2236
else if (addressFamily == AddressFamily.
InterNetworkV6
)
System\ServiceModel\Channels\SocketConnection.cs (3)
1712
if (addressFamily == AddressFamily.
InterNetworkV6
&& !Socket.OSSupportsIPv6)
1867
if (addressFamily == AddressFamily.
InterNetworkV6
&& !Socket.OSSupportsIPv6)
2107
if (localEndpoint.AddressFamily == AddressFamily.
InterNetworkV6
&& settings.TeredoEnabled)
System.ServiceModel.Channels (4)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (1)
217
else if (address.AddressFamily == AddressFamily.
InterNetworkV6
&& useIPv6)
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
222
else if (localAddress.AddressFamily == AddressFamily.
InterNetworkV6
)
System\ServiceModel\Channels\UdpUtility.cs (2)
110
bool isIPv6 = (ipAddress.AddressFamily == AddressFamily.
InterNetworkV6
);
490
bool isIPv6 = socket.AddressFamily == AddressFamily.
InterNetworkV6
;
System.Web (1)
State\OutOfProcStateClientManager.cs (1)
206
if (ipv6Address.AddressFamily != AddressFamily.
InterNetworkV6
) {
WsatConfig (1)
Configuration\HttpWrapper.cs (1)
178
else if (source.AddressFamily == AddressFamily.
InterNetworkV6
)
WsatUI (1)
Configuration\HttpWrapper.cs (1)
178
else if (source.AddressFamily == AddressFamily.
InterNetworkV6
)