JAMS Developer Guide
SavePublicKey(Stream,SshPublicKeyFormat) Method


MVPSI.JAMS Namespace > Credential Class > SavePublicKey Method : SavePublicKey(Stream,SshPublicKeyFormat) Method
The stream where the key will be written.
The format to look for
Saves the public key to a file in OpenSSH format
Syntax
'Declaration
 
Public Overloads Sub SavePublicKey( _
   ByVal fileStream As System.IO.Stream, _
   ByVal format As SshPublicKeyFormat _
) 
'Usage
 
Dim instance As Credential
Dim fileStream As System.IO.Stream
Dim format As SshPublicKeyFormat
 
instance.SavePublicKey(fileStream, format)
public void SavePublicKey( 
   System.IO.Stream fileStream,
   SshPublicKeyFormat format
)

Parameters

fileStream
The stream where the key will be written.
format
The format to look for
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