JAMS Developer Guide
SavePublicKey(String,SshPublicKeyFormat) Method


MVPSI.JAMS Namespace > Credential Class > SavePublicKey Method : SavePublicKey(String,SshPublicKeyFormat) Method
The path to the file to be written.
The format that the SSH Public Key is in.
Saves the public key to OpenSSH format
Syntax
'Declaration
 
Public Overloads Sub SavePublicKey( _
   ByVal filePath As System.String, _
   ByVal format As SshPublicKeyFormat _
) 
'Usage
 
Dim instance As Credential
Dim filePath As System.String
Dim format As SshPublicKeyFormat
 
instance.SavePublicKey(filePath, format)
public void SavePublicKey( 
   System.string filePath,
   SshPublicKeyFormat format
)

Parameters

filePath
The path to the file to be written.
format
The format that the SSH Public Key is in.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Credential Class
Credential Members
Overload List