C# Class GitForce.ClassPutty

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

Méthodes publiques

Méthode 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 méthode

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

GetPassPhrases() public méthode

Returns the list of passphrases in plaintext format
public GetPassPhrases ( ) : List
Résultat List

ImportRemoteSshKey() public méthode

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
Résultat void

RunPLink() public méthode

Run plink program with the given arguments
public RunPLink ( string args ) : void
args string
Résultat void

RunPageantUpdateKeys() public méthode

Runs the pageant daemon process and loads keys
public RunPageantUpdateKeys ( ) : void
Résultat void

RunPuTTYgen() public méthode

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

SetPassPhrases() public méthode

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