The Password property specifies the password used to
authenticate the user. The UserName and Password
properties are used together to provide credentials to the server
that will authenticate the client session. If these properties
not set when the connection is established, the session will be
anonymous. A server may allow a client to download files without
authentication, but it is usually required when uploading files.
If you are connecting to a server using the SFTP (SSH) protocol and
the server requires public/private key authentication, your
application should set the PrivateKey property to the path of
the user's private key. In this case, the Password property can
be used to specify the password required to access the private key. If
the private key was created without a password, this property should
be set to an empty string.