JAMS Developer Guide
LoadKey(String,String) Method


MVPSI.JAMS Namespace > Credential Class > LoadKey Method : LoadKey(String,String) Method
The path to the file which should be loaded.
The password which was used to encrypt the key (if needed).
Loads a public/private key pair from a file.
Syntax
'Declaration
 
Public Overloads Sub LoadKey( _
   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.LoadKey(filePath, password)
public void LoadKey( 
   System.string filePath,
   System.string password
)

Parameters

filePath
The path to the file which should be loaded.
password
The password which was used to encrypt the key (if needed).
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