If connected returns the TCP port on which the connection is established. Else returns the default Ftp port.

Namespace:  KetLabs.FTP
Assembly:  Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)

Syntax

C#
public int Port { get; }
Visual Basic (Declaration)
Public ReadOnly Property Port As Integer
Visual C++
public:
property int Port {
	int get ();
}

See Also