Sets user key pair.
Namespace: Jscape.SshAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void SetPrivateKey( FileInfo file, string password ) |
Visual Basic |
---|
Public Sub SetPrivateKey ( _ file As FileInfo, _ password As String _ ) |
Visual C++ |
---|
public: void SetPrivateKey( FileInfo^ file, String^ password ) |
Parameters
- file
- Type: System.IO..::..FileInfo
private key file
- password
- Type: System..::..String
key file password