SftpClient(String, Int32, String, PrivateKeyFile) Constructor |
Initializes a new instance of the
SftpClient class.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic SftpClient(
string host,
int port,
string username,
params PrivateKeyFile[] keyFiles
)
Parameters
- host String
- Connection host.
- port Int32
- Connection port.
- username String
- Authentication username.
- keyFiles PrivateKeyFile
- Authentication private key file(s) .
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also