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