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.
Comments: ** Comment from web user: marian_pascalau **
Comments: ** Comment from web user: marian_pascalau **
Have a look at my solution:
https://sshnet.codeplex.com/workitem/2614