public override string ServerAddress { get; set; }Public Overrides Property ServerAddress As String
Get
Setpublic:
virtual property String^ ServerAddress {
String^ get () override;
void set (String^ value) override;
}abstract ServerAddress : string with get, set
override ServerAddress : string with get, setThis property may only be set if not currently connected.
SecureFTPConnection ftp = new SecureFTPConnection();
ftp.Protocol = FileTransferProtocol.SFTP;
ftp.ServerAddress = "my-server-name";
ftp.UserName = "my-username";
ftp.Password = "my-password";
ftp.AuthenticationMethod = AuthenticationType.Password;
ftp.ServerValidation = SecureFTPServerValidationType.None;
ftp.Connect();
ftp.Close();