C# Class GitForce.ClassPutty

Manage PuTTY, PLink and PuttyGen utilities. This class should be instantiated on Windows OS only.
Datei anzeigen Open project: gdevic/GitForce Class Usage Examples

Public Methods

Method Description
ClassPutty ( ) : System

Constructor class function, create executables in the temp space

GetPassPhrases ( ) : List

Returns the list of passphrases in plaintext format

ImportRemoteSshKey ( GitForce.ClassUrl url ) : void

Initializes SSH connection by running the PLINK using the specified connection parameters. This function blocks until the PLINK returns.

RunPLink ( string args ) : void

Run plink program with the given arguments

RunPageantUpdateKeys ( ) : void

Runs the pageant daemon process and loads keys

RunPuTTYgen ( ) : void

Run the PuTTYgen process and wait until it exits.

SetPassPhrases ( List pfs ) : void

Saves the list of passphrases into application properties

Method Details

ClassPutty() public method

Constructor class function, create executables in the temp space
public ClassPutty ( ) : System
return System

GetPassPhrases() public method

Returns the list of passphrases in plaintext format
public GetPassPhrases ( ) : List
return List

ImportRemoteSshKey() public method

Initializes SSH connection by running the PLINK using the specified connection parameters. This function blocks until the PLINK returns.
public ImportRemoteSshKey ( GitForce.ClassUrl url ) : void
url GitForce.ClassUrl
return void

RunPLink() public method

Run plink program with the given arguments
public RunPLink ( string args ) : void
args string
return void

RunPageantUpdateKeys() public method

Runs the pageant daemon process and loads keys
public RunPageantUpdateKeys ( ) : void
return void

RunPuTTYgen() public method

Run the PuTTYgen process and wait until it exits.
public RunPuTTYgen ( ) : void
return void

SetPassPhrases() public method

Saves the list of passphrases into application properties
public SetPassPhrases ( List pfs ) : void
pfs List
return void