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