Gets a boolean value indicating if the FTP client is connected to an FTP server. For detailed state information, consult the
State property.
'Declaration
Public ReadOnly Property Connected As Boolean
'Usage
Dim instance As FtpClient
Dim value As Boolean
value = instance.Connected
public bool Connected {get;}
Property Value
true if the FTP client is connected to an FTP server; false otherwise.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2