Xceed .NET Libraries Documentation
HostName Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : HostName Property
Gets the hostname of the FTP server to which a connection has been established.
Syntax
'Declaration
 
Public ReadOnly Property HostName As String
'Usage
 
Dim instance As FtpConnection

Dim value As String

 

value = instance.HostName
public string HostName {get;}

Property Value

A string representing the hostname of the FTP server. If the connection was made with an System.Net.IPEndPoint, a dotted format IP address will be returned.
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