public override string UserName { get; set; }Public Overrides Property UserName As String
Get
Setpublic:
virtual property String^ UserName {
String^ get () override;
void set (String^ value) override;
}abstract UserName : string with get, set
override UserName : string with get, setThis property must be set before a connection with the server is made.
ExFTPConnection ftp = new SecureFTPConnection();
ftp.Protocol = FileTransferProtocol.SFTP;
ftp.ServerAddress = "my-server-name";
ftp.UserName = "my-username";
ftp.Password = "my-password";
ftp.Connect();
ftp.Close();