75 references to Port
SMSvcHost (1)
System\ServiceModel\Activation\RoutingTable.cs (1)
203return new IPEndPoint(address, path.Port);
System (22)
net\System\Net\_AuthenticationState.cs (2)
100if ((object)ChallengedUri == null || (object)ChallengedUri.Scheme != (object)newUri.Scheme || ChallengedUri.Host != newUri.Host || ChallengedUri.Port != newUri.Port)
net\System\Net\cookie.cs (1)
356int port = uri.Port;
net\System\Net\cookiecontainer.cs (1)
707int port = uri.Port;
net\System\Net\CredentialCache.cs (2)
519if (prefixUri.Scheme != uri.Scheme || prefixUri.Host != uri.Host || prefixUri.Port != uri.Port)
net\System\Net\HttpWebRequest.cs (4)
2445return GetHostAndPortString(_HostUri.Host, _HostUri.Port, _HostHasPort); 2450return GetHostAndPortString(_Uri.Host, _Uri.Port, !_Uri.IsDefaultPort); 4723return GetHostAndPortString(hostToUse, sourceUri.Port, addDefaultPort || !sourceUri.IsDefaultPort); 5788string hostString = GetHostAndPortString(_HostUri.Host, _HostUri.Port, true);
net\System\Net\ServicePoint.cs (2)
109if (Logging.On) Logging.Enter(Logging.Web, this, "ServicePoint", address.DnsSafeHost + ":" + address.Port); 115m_Port = address.Port;
net\System\Net\ServicePointManager.cs (1)
632return address.Scheme + "://" + address.DnsSafeHost + ":" + address.Port.ToString();
net\System\Net\webproxy.cs (1)
335string matchUriString = input.Scheme + "://" + input.Host + (!input.IsDefaultPort ? (":"+input.Port) : "" );
net\System\URI.cs (6)
1848if (Port != obj.Port) { 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)
73m_port = uri.Port; 383m_port = uri.Port;
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
1632port = result.Port;
System.Runtime.Remoting (5)
channels\core\corechannel.cs (1)
886sb.Append(requestUrl.Port);
channels\core\socketcache.cs (1)
61_port = _uri.Port;
channels\http\httpremotinghandler.cs (1)
161int port = context.Request.Url.Port;
channels\tcp\tcpclientchannel.cs (1)
379m_port = uri.Port;
metadata\sdlchannelsink.cs (1)
376int port = context.Request.Url.Port;
System.ServiceModel (26)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (3)
245if (baseAddress.Port != fullAddress.Port) 319this.comparand.Port = this.baseAddress.Port;
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
87int port = this.registration.ListenUri.Port;
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
722result = new UriBuilder(via.Scheme, via.Host, via.Port).Uri;
System\ServiceModel\Channels\MsmqUri.cs (4)
143if (-1 != uri.Port) 193if (-1 != uri.Port) 278if (-1 != uri.Port) 281builder.Append(uri.Port.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Channels\PeerHelpers.cs (1)
144get { return listenAddress.EndpointAddress.Uri.Port; }
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
442int port = input.EndpointAddress.Uri.Port;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (2)
546string httpListenUrl = string.Concat(Scheme, "://", host, ":", ListenUri.Port, path); 611throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAlreadyInUseException(SR.GetString(SR.HttpRegistrationPortInUse, httpListenUrl, ListenUri.Port), listenerException));
System\ServiceModel\Channels\SocketConnection.cs (2)
1690int port = uri.Port; 1799port = uri.Port;
System\ServiceModel\Channels\TcpChannelListener.cs (1)
292UriBuilder builder = new UriBuilder(listenUri.Scheme, listenUri.Host, listenUri.Port);
System\ServiceModel\Channels\TcpConnectionPool.cs (1)
36int port = via.Port;
System\ServiceModel\Channels\UriPrefixTable.cs (1)
338int port = this.uri.Port;
System\ServiceModel\Description\ServiceMetadataExtension.cs (3)
226port = hostUri.Port; 499requestPort = request.Headers.To.Port; 506requestPort == listenUri.Port &&
System\ServiceModel\EndpointAddress.cs (2)
366if (u1.Port != u2.Port)
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
601return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName:{1}{2}", listenUri.Scheme, listenUri.Port, listenUri.AbsolutePath );
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 (6)
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (1)
63&& (listenAddresses[i].BaseAddress.Port == uri.Port))
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (2)
133if (manager.Port == uri.Port && 149int port = uri.Port;
System\ServiceModel\Activation\MetabaseSettings.cs (1)
167string binding = string.Format(CultureInfo.InvariantCulture, ":{0}:{1}", result.OriginalRequestUri.Port.ToString(NumberFormatInfo.InvariantInfo), MetabaseSettings.LocalMachine);
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1167if ((baseUri.Port == filterUri.Port) &&
System.ServiceModel.Channels (11)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (6)
127remoteEndPoint = new IPEndPoint(IPAddress.Parse(destination.DnsSafeHost), destination.Port); 170remoteEndPoint = new IPEndPoint(remoteAddresses[i], destination.Port); 212remoteEndPoint = new IPEndPoint(address, destination.Port); 236remoteEndPoint = new IPEndPoint(address, destination.Port); 291if (destination.Port < 1 || destination.Port > IPEndPoint.MaxPort)
System\ServiceModel\Channels\UdpChannelFactory.cs (2)
99if (via.IsDefaultPort || via.Port == 0) 183remoteEndPoint = new IPEndPoint(remoteAddressList[0], via.Port);
System\ServiceModel\Channels\UdpChannelListener.cs (3)
510if (listenUriBaseAddress.IsDefaultPort || listenUriBaseAddress.Port == 0) 530int port = (this.listenUri.IsDefaultPort ? 0 : this.listenUri.Port); 638if (updateListenPort && port != this.listenUri.Port)
System.Web (2)
WebSockets\WebSocketUtil.cs (2)
57&& hostHeaderUri.Port == originHeaderUri.Port;
System.Web.Services (1)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
170if (Convert.ToInt32(port, CultureInfo.InvariantCulture) != uri.Port)