'Declaration Public ReadOnly Property ServerAddress As IPEndPoint
'Usage Dim instance As FtpClient Dim value As IPEndPoint value = instance.ServerAddress
public IPEndPoint ServerAddress {get;}
'Declaration Public ReadOnly Property ServerAddress As IPEndPoint
'Usage Dim instance As FtpClient Dim value As IPEndPoint value = instance.ServerAddress
public IPEndPoint ServerAddress {get;}
The IP address of the FTP server can be retreived via the System.Net.IPEndPoint.Address property while the port can be retrieved via the System.Net.IPEndPoint.Port property.
This property can be considered to be the equivalent of the ServerAddress and ServerPort properties of the ActiveX version of the Xceed FTP Library.
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