61 references to UriHostNameType
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 (23)
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] == '?')
net\System\URI.cs (16)
792
public
UriHostNameType
HostNameType {
807
case Flags.DnsHostType: return
UriHostNameType
.Dns;
808
case Flags.IPv4HostType: return
UriHostNameType
.IPv4;
809
case Flags.IPv6HostType: return
UriHostNameType
.IPv6;
810
case Flags.BasicHostType: return
UriHostNameType
.Basic;
812
case Flags.UncHostType: return
UriHostNameType
.Basic; //return (UriHostNameType)(UriHostNameType.Basic+10);
814
case Flags.UnknownHostType: return
UriHostNameType
.Unknown;
818
return
UriHostNameType
.Unknown;
1355
public static
UriHostNameType
CheckHostName(string name) {
1358
return
UriHostNameType
.Unknown;
1367
return
UriHostNameType
.IPv6;
1372
return
UriHostNameType
.IPv4;
1377
return
UriHostNameType
.Dns;
1384
return
UriHostNameType
.Dns;
1394
return
UriHostNameType
.IPv6;
1398
return
UriHostNameType
.Unknown;
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (3)
121
UriHostNameType
hostType = Uri.CheckHostName(hostPortAndDistinguisher);
122
if (hostType ==
UriHostNameType
.Unknown)
160
if (hostType !=
UriHostNameType
.Dns)
System.ServiceModel (20)
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (6)
23
TcpChannelListener channelListener, IPAddress ipAddressAny,
UriHostNameType
ipHostNameType)
240
void ProcessSelection(TcpChannelListener channelListener, IPAddress ipAddressAny,
UriHostNameType
ipHostNameType,
252
bool useIPv4 = (this.ListenUri.HostNameType !=
UriHostNameType
.IPv6) && Socket.OSSupportsIPv4;
253
bool useIPv6 = (this.ListenUri.HostNameType !=
UriHostNameType
.IPv4) && Socket.OSSupportsIPv6;
264
this.ProcessSelection(tcpListener, IPAddress.Any,
UriHostNameType
.IPv4,
269
this.ProcessSelection(tcpListener, IPAddress.IPv6Any,
UriHostNameType
.IPv6,
System\ServiceModel\Channels\HttpChannelListener.cs (3)
754
UriHostNameType
hostNameType = listenUri.HostNameType;
755
if (hostNameType ==
UriHostNameType
.IPv4 || hostNameType ==
UriHostNameType
.IPv6)
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 (6)
241
internal Socket GetListenSocket(
UriHostNameType
ipHostNameType)
243
if (ipHostNameType ==
UriHostNameType
.IPv4)
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 (13)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (2)
125
if (destination.HostNameType ==
UriHostNameType
.IPv4 || destination.HostNameType ==
UriHostNameType
.IPv6)
System\ServiceModel\Channels\UdpChannelFactory.cs (2)
162
if (via.HostNameType ==
UriHostNameType
.IPv6 || via.HostNameType ==
UriHostNameType
.IPv4)
System\ServiceModel\Channels\UdpChannelListener.cs (3)
532
if (this.listenUri.HostNameType ==
UriHostNameType
.IPv6 ||
533
this.listenUri.HostNameType ==
UriHostNameType
.IPv4)
566
else if (this.listenUri.HostNameType ==
UriHostNameType
.IPv6)
System\ServiceModel\Channels\UdpUtility.cs (6)
244
if (!ipV4 && uri.HostNameType ==
UriHostNameType
.IPv4 || !ipV6 && uri.HostNameType ==
UriHostNameType
.IPv6)
349
public static bool IsSupportedHostNameType(
UriHostNameType
hostNameType)
351
return hostNameType ==
UriHostNameType
.Dns ||
352
hostNameType ==
UriHostNameType
.IPv4 ||
353
hostNameType ==
UriHostNameType
.IPv6;
System.Web.Services (1)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
173
if (uri.HostNameType ==
UriHostNameType
.Dns) {