36 references to HostNameType
SMSvcHost (4)
System\ServiceModel\Activation\RoutingTable.cs (4)
135
if (found.Uri.
HostNameType
!= UriHostNameType.IPv4 && found.Uri.
HostNameType
!= UriHostNameType.IPv6)
199
if (path.
HostNameType
== UriHostNameType.IPv4 || path.
HostNameType
== UriHostNameType.IPv6)
System (4)
net\System\Net\_AuthenticationState.cs (2)
135
if (httpWebRequest.ChallengedUri.
HostNameType
!= UriHostNameType.IPv6
136
&& httpWebRequest.ChallengedUri.
HostNameType
!= UriHostNameType.IPv4
net\System\Net\HttpWebRequest.cs (1)
4717
if (sourceUri.
HostNameType
== UriHostNameType.IPv6) {
net\System\Net\NetWebProxyFinder.cs (1)
444
if (!tryParse || uri.UserInfo.Length > 0 || uri.
HostNameType
== UriHostNameType.Basic || uri.AbsolutePath.Length != 1 || proxyAuthority[proxyAuthority.Length - 1] == '/' || proxyAuthority[proxyAuthority.Length - 1] == '#' || proxyAuthority[proxyAuthority.Length - 1] == '?')
System.ServiceModel (13)
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (3)
32
else if (channelListener.Uri.
HostNameType
== ipHostNameType)
252
bool useIPv4 = (this.ListenUri.
HostNameType
!= UriHostNameType.IPv6) && Socket.OSSupportsIPv4;
253
bool useIPv6 = (this.ListenUri.
HostNameType
!= UriHostNameType.IPv4) && Socket.OSSupportsIPv6;
System\ServiceModel\Channels\HttpChannelListener.cs (1)
754
UriHostNameType hostNameType = listenUri.
HostNameType
;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
517
if (ListenUri.
HostNameType
== UriHostNameType.IPv6)
System\ServiceModel\Channels\SocketConnection.cs (2)
1630
if (uri.
HostNameType
== UriHostNameType.IPv4 ||
1631
uri.
HostNameType
== UriHostNameType.IPv6)
System\ServiceModel\Channels\TcpChannelListener.cs (4)
280
if (originalUri.
HostNameType
== UriHostNameType.IPv6)
335
if (this.Uri.
HostNameType
== UriHostNameType.IPv6)
340
else if (this.Uri.
HostNameType
== UriHostNameType.IPv4)
348
if (this.Uri.
HostNameType
== UriHostNameType.IPv6)
System\ServiceModel\Channels\TransportChannelListener.cs (2)
311
if (hostNameComparisonMode == HostNameComparisonMode.Exact && uri.
HostNameType
== UriHostNameType.IPv6)
315
if (this.Uri.
HostNameType
!= UriHostNameType.IPv6)
System.ServiceModel.Channels (14)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (2)
125
if (destination.
HostNameType
== UriHostNameType.IPv4 || destination.
HostNameType
== UriHostNameType.IPv6)
System\ServiceModel\Channels\UdpChannelFactory.cs (4)
94
if (!UdpUtility.IsSupportedHostNameType(via.
HostNameType
))
96
throw FxTrace.Exception.Argument("via", SR.UnsupportedUriHostNameType(via.Host, via.
HostNameType
));
162
if (via.
HostNameType
== UriHostNameType.IPv6 || via.
HostNameType
== UriHostNameType.IPv4)
System\ServiceModel\Channels\UdpChannelListener.cs (5)
532
if (this.listenUri.
HostNameType
== UriHostNameType.IPv6 ||
533
this.listenUri.
HostNameType
== UriHostNameType.IPv4)
566
else if (this.listenUri.
HostNameType
== UriHostNameType.IPv6)
694
if (!UdpUtility.IsSupportedHostNameType(listenUriBase.
HostNameType
))
696
throw FxTrace.Exception.Argument("context.ListenUriBaseAddress", SR.UnsupportedUriHostNameType(listenUriBase.Host, listenUriBase.
HostNameType
));
System\ServiceModel\Channels\UdpUtility.cs (3)
244
if (!ipV4 && uri.
HostNameType
== UriHostNameType.IPv4 || !ipV6 && uri.
HostNameType
== UriHostNameType.IPv6)
246
throw FxTrace.Exception.AsError(new ArgumentException(SR.UriHostNameTypeNotSupportedByOS(uri.Host, uri.
HostNameType
.ToString())));
System.Web.Services (1)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
173
if (uri.
HostNameType
== UriHostNameType.Dns) {