33 references to Port
SMSvcHost (4)
System\ServiceModel\Activation\TransportListener.cs (4)
48connectionListener = new SocketConnectionListener(new IPEndPoint(IPAddress.Any, endPoint.Port), socketSettings, true); 54connectionListener = new SocketConnectionListener(new IPEndPoint(IPAddress.IPv6Any, endPoint.Port), socketSettings, true); 223port = (socket.LocalEndPoint as IPEndPoint).Port; 360return iPEndPoint.Address.ToString() + ":" + iPEndPoint.Port;
System (12)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
627 IPEndPoint IPv6EndPoint = new IPEndPoint(v6Address, IPv4EndPoint.Port);
net\System\Net\_FtpControlStream.cs (2)
1129return FormatAddress(localEP.Address, localEP.Port); 1131return FormatAddressV6(localEP.Address, localEP.Port);
net\System\Net\IPEndPoint.cs (5)
20/// Specifies the minimum acceptable value for the <see cref='System.Net.IPEndPoint.Port'/> 27/// Specifies the maximum acceptable value for the <see cref='System.Net.IPEndPoint.Port'/> 122return String.Format(format, m_Address.ToString(), Port.ToString(NumberFormatInfo.InvariantInfo)); 130return new SocketAddress(Address, Port); 167return new IPEndPoint(Address.Snapshot(), Port);
net\System\Net\ServicePoint.cs (1)
1288IPEndPoint clonedRemoteIPEndPoint = new IPEndPoint(remoteIPEndPoint.Address, remoteIPEndPoint.Port);
net\System\Net\Sockets\Socket.cs (3)
884ipSnapshot.Port); 5886return new IPEndPoint(input.Address.MapToIPv6(), input.Port); 5930ipSnapshot.Port);
System.Net (5)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
377sin.sin6_port = (ushort)IPAddress.HostToNetworkOrder((short)endPoint.Port);
net\PeerToPeer\SystemNetHelpers.cs (4)
26buffer[2] = (byte)(ipEndPoint.Port >> 8); 27buffer[3] = (byte)ipEndPoint.Port; 48buffer[2] = unchecked((byte)(ipEndPoint.Port >> 8)); 49buffer[3] = unchecked((byte)(ipEndPoint.Port));
System.Runtime.Remoting (2)
channels\http\httpserverchannel.cs (1)
331_port = ((IPEndPoint)_tcpListener.LocalEndpoint).Port;
channels\tcp\tcpserverchannel.cs (1)
326_port = ((IPEndPoint)_tcpListener.LocalEndpoint).Port;
System.ServiceModel (8)
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
385uriBuilder.Port = input.Addresses[0].Port; 1259sa.sin_port = (ushort)endpoint.Port; 1269sa.sin6_port = (ushort)endpoint.Port;
System\ServiceModel\Channels\RemoteEndpointMessageProperty.cs (1)
97this.port = remoteEndPoint.Port;
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1057this.port = ((IPEndPoint)socket.LocalEndPoint).Port;
System\ServiceModel\Channels\TcpChannelListener.cs (2)
367port = ((IPEndPoint)this.ipv4ListenSocket.LocalEndPoint).Port; 372port = ((IPEndPoint)this.ipv6ListenSocket.LocalEndPoint).Port;
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
1276return iPEndPoint.Address.ToString() + ":" + iPEndPoint.Port;
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpUtility.cs (2)
138port = ((IPEndPoint)socket.LocalEndPoint).Port; 566new RemoteEndpointMessageProperty(remoteEndPoint.Address.ToString(), remoteEndPoint.Port));