edtFTPnet/Free - Open-source FTP component for .NET | Download

PortRange Class

Specifies a TCP port range defining the lower and upper limits for data-channels.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public class PortRange
Inheritance
Object    PortRange

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.

Properties

HighPort Highest port number in range.
LowPort Lowest port number in range.
UseOSAssignment Determines if the operating system should select the ports within the range 1024-5000.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a String that represents the current Object.
(Overrides ObjectToString)

See Also