JAMS Developer Guide
SavePrivateKey(String,String) Method


MVPSI.JAMS Namespace > Credential Class > SavePrivateKey Method : SavePrivateKey(String,String) Method
The path to the file to be written.
A password which will be used to encrypt the key.
Saves the public/private key pair to a file.
Syntax
'Declaration
 
Public Overloads Sub SavePrivateKey( _
   ByVal filePath As System.String, _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As Credential
Dim filePath As System.String
Dim password As System.String
 
instance.SavePrivateKey(filePath, password)
public void SavePrivateKey( 
   System.string filePath,
   System.string password
)

Parameters

filePath
The path to the file to be written.
password
A password which will be used to encrypt the key.
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