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