114 references to Host
PresentationBuildTasks (2)
Shared\MS\Internal\ResourceIDHelper.cs (2)
56if (baseUri.Scheme == sourceUri.Scheme && baseUri.Host == sourceUri.Host)
PresentationCore (2)
Shared\MS\Utility\BindUriHelper.cs (2)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true);
PresentationFramework (10)
src\Framework\System\Windows\Documents\FixedDocument.cs (8)
909if (baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) != true && 910baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host) != true) 937if (baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) != true && 938baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host) != true)
src\Shared\MS\Utility\BindUriHelper.cs (2)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true);
SMSvcHost (1)
System\ServiceModel\Activation\RoutingTable.cs (1)
92UriBuilder uriBuilder = new UriBuilder(uri.Scheme, uri.Host, port, uri.PathAndQuery);
System (28)
net\System\Net\_AuthenticationState.cs (3)
100if ((object)ChallengedUri == null || (object)ChallengedUri.Scheme != (object)newUri.Scheme || ChallengedUri.Host != newUri.Host || ChallengedUri.Port != newUri.Port) 132host = httpWebRequest.ChallengedUri.Host;
net\System\Net\_DigestClient.cs (1)
553this.HostName = httpWebRequest.ChallengedUri.Host;
net\System\Net\_FtpControlStream.cs (2)
196request.RequestUri.Host, 404request.RequestUri.Host,
net\System\Net\_ServiceNameStore.cs (1)
129return hostUri.Host;
net\System\Net\cookie.cs (1)
355string host = uri.Host;
net\System\Net\cookiecontainer.cs (5)
264new_cookie.VerifySetDefaults(new_cookie.Variant, uri, IsLocalDomain(uri.Host), m_fqdnMyDomain, true, true); 607new_cookie.VerifySetDefaults(new_cookie.Variant, uri, IsLocalDomain(uri.Host), m_fqdnMyDomain, true, true); 624bool isLocalDomain = IsLocalDomain(uri.Host); 644bool isLocalDomain = IsLocalDomain(uri.Host); 713string fqdnRemote = uri.Host;
net\System\Net\CredentialCache.cs (2)
519if (prefixUri.Scheme != uri.Scheme || prefixUri.Host != uri.Host || prefixUri.Port != uri.Port)
net\System\Net\HttpWebRequest.cs (3)
2445return GetHostAndPortString(_HostUri.Host, _HostUri.Port, _HostHasPort); 2450return GetHostAndPortString(_Uri.Host, _Uri.Port, !_Uri.IsDefaultPort); 5788string hostString = GetHostAndPortString(_HostUri.Host, _HostUri.Port, true);
net\System\Net\NetWebProxyFinder.cs (1)
63string proxyListString = scriptInstance.FindProxyForURL(destination.ToString(), destination.Host);
net\System\Net\ServicePoint.cs (1)
488return m_Address.Host;
net\System\Net\webproxy.cs (2)
335string matchUriString = input.Scheme + "://" + input.Host + (!input.IsDefaultPort ? (":"+input.Port) : "" ); 348string hostString = host.Host;
net\System\URI.cs (4)
1920if ((Scheme == uri.Scheme) && (Host == uri.Host) && (Port == uri.Port)) 5318if ((Scheme == toUri.Scheme) && (Host == toUri.Host) && (Port == toUri.Port))
net\System\uribuilder.cs (2)
71m_host = uri.Host; 381m_host = uri.Host;
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
1631host = result.Host;
System.Runtime.Remoting (2)
channels\core\corechannel.cs (1)
884sb.Append(requestUrl.Host);
channels\tcp\tcpclientchannel.cs (1)
370m_machineName = uri.Host;
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1505string host = uri.Host;
System.ServiceModel (38)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
51string host = uri.Host;
System\ServiceModel\Channels\BaseUriWithWildcard.cs (2)
252if (string.Compare(baseAddress.Host, fullAddress.Host, StringComparison.OrdinalIgnoreCase) != 0)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
722result = new UriBuilder(via.Scheme, via.Host, via.Port).Uri;
System\ServiceModel\Channels\Msmq.cs (1)
97return new MsmqSubqueueLockingQueue(receiver.MsmqReceiveParameters.AddressTranslator.UriToFormatName(receiver.ListenUri), receiver.ListenUri.Host, UnsafeNativeMethods.MQ_RECEIVE_ACCESS);
System\ServiceModel\Channels\MsmqUri.cs (10)
141if (String.IsNullOrEmpty(uri.Host)) 148if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 153if (IPAddress.TryParse(uri.Host, out address)) 158builder.Append(uri.Host); 191if (String.IsNullOrEmpty(uri.Host)) 199if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 202builder.Append(uri.Host); 239if (0 == String.Compare(uri.Host, "localhost", StringComparison.OrdinalIgnoreCase)) 271if (String.IsNullOrEmpty(uri.Host)) 277builder.Append(uri.Host);
System\ServiceModel\Channels\PeerChannelFactory.cs (1)
140if (privatePeerNode != null && via.Host == privatePeerNode.MeshId)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
245if (privatePeerNode != null && this.Uri.Host == privatePeerNode.MeshId)
System\ServiceModel\Channels\PeerNodeImplementation.cs (4)
775Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri; 810Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri; 1300meshId = ListenUri.Host; 1723this.listenUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri;
System\ServiceModel\Channels\PipeConnection.cs (2)
1686string[] hostChoices = new string[] { "+", uri.Host, "*" }; 2764host = uri.Host;
System\ServiceModel\Channels\SocketConnection.cs (4)
1646new EndpointNotFoundException(SR.GetString(SR.UnableToResolveHost, uri.Host), socketException)); 1652new EndpointNotFoundException(SR.GetString(SR.UnableToResolveHost, uri.Host))); 1738new EndpointNotFoundException(SR.GetString(SR.NoIPEndpointsFoundForHost, uri.Host))); 1899new EndpointNotFoundException(SR.GetString(SR.NoIPEndpointsFoundForHost, uri.Host)));
System\ServiceModel\Channels\TcpChannelListener.cs (1)
292UriBuilder builder = new UriBuilder(listenUri.Scheme, listenUri.Host, listenUri.Port);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
326string host = this.uri.Host;
System\ServiceModel\Description\ServiceMetadataExtension.cs (5)
225host = hostUri.Host; 498requestHost = request.Headers.To.Host; 505if (requestHost == listenUri.Host && 1910: this(listenUri.Host, requestHost, removeBaseAddress, listenUri.Scheme, requestPort, updatePortsByScheme) 1976if (uri.Host != oldHostName)
System\ServiceModel\EndpointAddress.cs (2)
373if (string.Compare(u1.Host, u2.Host, StringComparison.OrdinalIgnoreCase) != 0)
System\UriTemplate.cs (2)
623string originalHostHeader = uri.Host + ((!uri.IsDefaultPort) ? ":" + uri.Port.ToString(CultureInfo.InvariantCulture) : string.Empty); 627return (new UriBuilder(uri) { Host = sourceUri.Host, Port = sourceUri.Port }).Uri;
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (1)
76&& (string.Compare(listenAddresses[i].BaseAddress.Host, uri.Host, StringComparison.OrdinalIgnoreCase) == 0))
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1168(string.Compare(baseUri.Host, filterUri.Host, StringComparison.OrdinalIgnoreCase) == 0))
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
96throw FxTrace.Exception.Argument("via", SR.UnsupportedUriHostNameType(via.Host, via.HostNameType));
System\ServiceModel\Channels\UdpChannelListener.cs (1)
696throw FxTrace.Exception.Argument("context.ListenUriBaseAddress", SR.UnsupportedUriHostNameType(listenUriBase.Host, listenUriBase.HostNameType));
System\ServiceModel\Channels\UdpUtility.cs (1)
246throw FxTrace.Exception.AsError(new ArgumentException(SR.UriHostNameTypeNotSupportedByOS(uri.Host, uri.HostNameType.ToString())));
System.ServiceModel.Web (1)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
188string host = uri.Host;
System.Web (6)
Security\FormsAuthentication.cs (2)
917if (!absUri.IsLoopback && !string.Equals(context.Request.Url.Host, absUri.Host, StringComparison.OrdinalIgnoreCase))
Util\UrlPath.cs (2)
731return absUri.IsLoopback || string.Equals(currentRequestUri.Host, absUri.Host, StringComparison.OrdinalIgnoreCase);
WebSockets\WebSocketUtil.cs (2)
56&& hostHeaderUri.Host == originHeaderUri.Host
System.Web.Extensions (1)
ClientServices\Providers\ProxyHelper.cs (1)
303cc.Add(new Cookie(name, value, "/", uri.Host));
System.Web.Services (4)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (3)
146DirectoryEntry w3Service = new DirectoryEntry("IIS://" + uri.Host + "/W3SVC"); 174if (hostname.Length == 0 || string.Compare(hostname, uri.Host, StringComparison.OrdinalIgnoreCase) == 0) 178if (ip.Length == 0 || string.Compare(ip, uri.Host, StringComparison.OrdinalIgnoreCase) == 0)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
187CallId callId = new CallId(null, 0, (IntPtr)0, 0, null, request.RequestUri.Host);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Form.cs (1)
4300string hostName = currentSite.Host;
winforms\Managed\System\WinForms\TrustManager.cs (2)
698host = uri.Host; 704if (string.IsNullOrEmpty(uri.Host) && host.StartsWith("/"))
System.Xml (6)
System\Xml\XmlDownloadManager.cs (3)
56OpenedHost openedHost = (OpenedHost)connections[webReq.Address.Host]; 64connections.Add( webReq.Address.Host, openedHost ); 67return new XmlRegisteredNonCachedStream( resp.GetResponseStream(), this, webReq.Address.Host );
System\Xml\XmlDownloadManagerAsync.cs (3)
50OpenedHost openedHost = (OpenedHost)connections[webReq.Address.Host]; 58connections.Add(webReq.Address.Host, openedHost); 61return new XmlRegisteredNonCachedStream(resp.GetResponseStream(), this, webReq.Address.Host);
WindowsBase (2)
Shared\MS\Internal\ResourceIDHelper.cs (2)
56if (baseUri.Scheme == sourceUri.Scheme && baseUri.Host == sourceUri.Host)