JAMS Developer Guide
SavePrivateKey(Stream,String,SshPrivateKeyFormat) Method


MVPSI.JAMS Namespace > Credential Class > SavePrivateKey Method : SavePrivateKey(Stream,String,SshPrivateKeyFormat) Method
Saves the public/private key pair to a file stream.
Syntax
'Declaration
 
Public Overloads Sub SavePrivateKey( _
   ByVal fileStream As System.IO.Stream, _
   ByVal password As System.String, _
   ByVal format As SshPrivateKeyFormat _
) 
'Usage
 
Dim instance As Credential
Dim fileStream As System.IO.Stream
Dim password As System.String
Dim format As SshPrivateKeyFormat
 
instance.SavePrivateKey(fileStream, password, format)
public void SavePrivateKey( 
   System.IO.Stream fileStream,
   System.string password,
   SshPrivateKeyFormat format
)

Parameters

fileStream
password
format
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