Xceed .NET Libraries Documentation
ServerAddress Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : ServerAddress Property
Gets the IP address and port of the FTP server to which a connection has been established.
Syntax
'Declaration
 
Public ReadOnly Property ServerAddress As IPEndPoint
'Usage
 
Dim instance As FtpConnection

Dim value As IPEndPoint

 

value = instance.ServerAddress
public IPEndPoint ServerAddress {get;}

Property Value

A reference to an System.Net.IPEndPoint object representing the IP address and port of the FTP server to which a connection has been established. Can be a null reference (Nothing in Visual Basic) if no connection has been established.
Remarks

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.

Requirements

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

See Also

Reference

FtpConnection Class
FtpConnection Members