C# Class MinimalisticTelnet.TelnetConnection

Exibir arquivo Open project: jpadillak/Concordia_Capstone2013-14 Class Usage Examples

Public Methods

Method Description
Login ( string Username, string Password, int LoginTimeOutMs ) : string
Read ( ) : string
TelnetConnection ( string Hostname, int Port ) : System
Write ( string cmd ) : void
WriteLine ( string cmd ) : void

Private Methods

Method Description
ParseTelnet ( StringBuilder sb ) : void

Method Details

Login() public method

public Login ( string Username, string Password, int LoginTimeOutMs ) : string
Username string
Password string
LoginTimeOutMs int
return string

Read() public method

public Read ( ) : string
return string

TelnetConnection() public method

public TelnetConnection ( string Hostname, int Port ) : System
Hostname string
Port int
return System

Write() public method

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

WriteLine() public method

public WriteLine ( string cmd ) : void
cmd string
return void