PrivateKeyAuthenticationMethod Constructor SSH .NET Client Library Documentation
Initializes a new instance of the PrivateKeyAuthenticationMethod class.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public PrivateKeyAuthenticationMethod(
	string username,
	params PrivateKeyFile[] keyFiles
)

Parameters

username
Type: OnlineSystem String
The username.
keyFiles
Type:  Renci.SshNet PrivateKeyFile 
The key files.
Exceptions

See Also