C# Class Tamir.SshHelper

ファイルを表示 Open project: soywiz/csharputils

Public Methods

Method Description
Close ( ) : void
ReadBuffer ( int size ) : string
ReadResponse ( ) : string
SendCtrlC ( ) : void
SendCtrlZ ( ) : void
SshHelper ( string host, string username, string password ) : System.IO
Write ( string data ) : void
WriteAndRead ( string data ) : string

Private Methods

Method Description
ReadTest ( ) : string
RemoveJunk ( StringBuilder str ) : StringBuilder
RemoveJunk ( string str ) : string
Replace ( StringBuilder str, string toReplace, string replcaeWith ) : StringBuilder
Replace ( string str, string toReplace, string replcaeWith ) : string

Method Details

Close() public method

public Close ( ) : void
return void

ReadBuffer() public method

public ReadBuffer ( int size ) : string
size int
return string

ReadResponse() public method

public ReadResponse ( ) : string
return string

SendCtrlC() public method

public SendCtrlC ( ) : void
return void

SendCtrlZ() public method

public SendCtrlZ ( ) : void
return void

SshHelper() public method

public SshHelper ( string host, string username, string password ) : System.IO
host string
username string
password string
return System.IO

Write() public method

public Write ( string data ) : void
data string
return void

WriteAndRead() public method

public WriteAndRead ( string data ) : string
data string
return string