JAMS Developer Guide
LoadKey(Stream,String) Method


MVPSI.JAMS Namespace > Credential Class > LoadKey Method : LoadKey(Stream,String) Method
A Stream which will supply the key to be loaded.
The password which was used to encrypt the key (if needed).
Loads a public/private key pair from a file stream.
Syntax
'Declaration
 
Public Overloads Sub LoadKey( _
   ByVal fileStream As System.IO.Stream, _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As Credential
Dim fileStream As System.IO.Stream
Dim password As System.String
 
instance.LoadKey(fileStream, password)
public void LoadKey( 
   System.IO.Stream fileStream,
   System.string password
)

Parameters

fileStream
A Stream which will supply the key to 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