12 references to MaxPort
System (3)
net\System\Net\Configuration\SmtpNetworkElement.cs (1)
146
null, new IntegerValidator(IPEndPoint.MinPort+1, IPEndPoint.
MaxPort
), ConfigurationPropertyOptions.None);
net\System\Net\DnsEndPoint.cs (1)
29
if(port < IPEndPoint.MinPort || port > IPEndPoint.
MaxPort
) {
net\System\Net\Internal.cs (1)
915
return port>=IPEndPoint.MinPort && port<=IPEndPoint.
MaxPort
;
System.Net (2)
net\PeerToPeer\PeerNameRegistration.cs (2)
106
if (port < IPEndPoint.MinPort || port > IPEndPoint.
MaxPort
)
142
if (value < IPEndPoint.MinPort || value > IPEndPoint.
MaxPort
)
System.ServiceModel (4)
System\ServiceModel\Channels\PeerHelpers.cs (1)
501
public const int MaxPort = IPEndPoint.
MaxPort
;
System\ServiceModel\Channels\RemoteEndpointMessageProperty.cs (2)
25
if (port < IPEndPoint.MinPort || port > IPEndPoint.
MaxPort
)
28
SR.GetString(SR.ValueMustBeInRange, IPEndPoint.MinPort, IPEndPoint.
MaxPort
));
System\ServiceModel\Configuration\DefaultPortElement.cs (1)
38
[IntegerValidator(MinValue = IPEndPoint.MinPort, MaxValue = IPEndPoint.
MaxPort
)]
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (3)
291
if (destination.Port < 1 || destination.Port > IPEndPoint.
MaxPort
)
295
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ViaUriIsNotValid(destination, SR.PortNumberInvalid(1, IPEndPoint.
MaxPort
))));
299
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToAddressIsNotValid(destination, SR.PortNumberInvalid(1, IPEndPoint.
MaxPort
))));