C# Класс GitForce.ClassPutty

Manage PuTTY, PLink and PuttyGen utilities. This class should be instantiated on Windows OS only.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ClassPutty() публичный Метод

Constructor class function, create executables in the temp space
public ClassPutty ( ) : System
Результат System

GetPassPhrases() публичный Метод

Returns the list of passphrases in plaintext format
public GetPassPhrases ( ) : List
Результат List

ImportRemoteSshKey() публичный Метод

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
Результат void

RunPLink() публичный Метод

Run plink program with the given arguments
public RunPLink ( string args ) : void
args string
Результат void

RunPageantUpdateKeys() публичный Метод

Runs the pageant daemon process and loads keys
public RunPageantUpdateKeys ( ) : void
Результат void

RunPuTTYgen() публичный Метод

Run the PuTTYgen process and wait until it exits.
public RunPuTTYgen ( ) : void
Результат void

SetPassPhrases() публичный Метод

Saves the list of passphrases into application properties
public SetPassPhrases ( List pfs ) : void
pfs List
Результат void