C# Class NntpClient.Connection

Inheritance: IDisposable
Mostrar archivo Open project: strider-/NntpClient Class Usage Examples

Public Methods

Method Description
Connection ( string hostname, int port, bool useSsl ) : System
Dispose ( ) : void
PeekLine ( ) : string
ReadLine ( ) : string
WriteLine ( string line ) : ServerReply

Method Details

Connection() public method

public Connection ( string hostname, int port, bool useSsl ) : System
hostname string
port int
useSsl bool
return System

Dispose() public method

public Dispose ( ) : void
return void

PeekLine() public method

public PeekLine ( ) : string
return string

ReadLine() public method

public ReadLine ( ) : string
return string

WriteLine() public method

public WriteLine ( string line ) : ServerReply
line string
return ServerReply