For security reasons it's important to have two more SftpClient constructors (one with port number, one without) where the password is supplied as a SecureString rather than a string.
↧