C# Class Pop3.IO.TcpClientNetworkOperations

Inheritance: INetworkOperations
Exibir arquivo Open project: rfinochi/pop3dotnet

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Open ( string hostName, int port ) : void
Open ( string hostName, int port, bool useSsl ) : void
Open ( string hostName, int port, bool useSsl, bool checkCertificate ) : void
OpenAsync ( string hostName, int port ) : System.Threading.Tasks.Task
OpenAsync ( string hostName, int port, bool useSsl ) : System.Threading.Tasks.Task
Read ( ) : string
ReadAsync ( ) : Task
Write ( string data ) : void
WriteAsync ( string data ) : System.Threading.Tasks.Task

Private Methods

Method Description
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( string hostName, int port ) : void
hostName string
port int
return void

Open() public method

public Open ( string hostName, int port, bool useSsl ) : void
hostName string
port int
useSsl bool
return void

Open() public method

public Open ( string hostName, int port, bool useSsl, bool checkCertificate ) : void
hostName string
port int
useSsl bool
checkCertificate bool
return void

OpenAsync() public method

public OpenAsync ( string hostName, int port ) : System.Threading.Tasks.Task
hostName string
port int
return System.Threading.Tasks.Task

OpenAsync() public method

public OpenAsync ( string hostName, int port, bool useSsl ) : System.Threading.Tasks.Task
hostName string
port int
useSsl bool
return System.Threading.Tasks.Task

Read() public method

public Read ( ) : string
return string

ReadAsync() public method

public ReadAsync ( ) : Task
return Task

Write() public method

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

WriteAsync() public method

public WriteAsync ( string data ) : System.Threading.Tasks.Task
data string
return System.Threading.Tasks.Task