edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

PortRange Class

Specifies a TCP port range defining the lower and upper limits for data-channels.
Inheritance Hierarchy
SystemObject
  EnterpriseDT.Net.FtpPortRange

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public class PortRange

The PortRange type exposes the following members.

Properties
  NameDescription
Public propertyHighPort
Highest port number in range.
Public propertyLowPort
Lowest port number in range.
Public propertyUseOSAssignment
Determines if the operating system should select the ports within the range 1024-5000.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Remarks
The default is to let the operating system select the port number within the range 1024-5000. If the range is set to anything other than the default then ports will be selected sequentially, increasing by one until the higher limit is reached and then wrapping around to the lower limit.
See Also