C# Class Pop3.IO.TcpClientNetworkOperations

Inheritance: INetworkOperations
Afficher le fichier Open project: rfinochi/pop3dotnet

Méthodes publiques

Méthode 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

Méthode Description
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Open() public méthode

public Open ( string hostName, int port ) : void
hostName string
port int
Résultat void

Open() public méthode

public Open ( string hostName, int port, bool useSsl ) : void
hostName string
port int
useSsl bool
Résultat void

Open() public méthode

public Open ( string hostName, int port, bool useSsl, bool checkCertificate ) : void
hostName string
port int
useSsl bool
checkCertificate bool
Résultat void

OpenAsync() public méthode

public OpenAsync ( string hostName, int port ) : System.Threading.Tasks.Task
hostName string
port int
Résultat System.Threading.Tasks.Task

OpenAsync() public méthode

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

Read() public méthode

public Read ( ) : string
Résultat string

ReadAsync() public méthode

public ReadAsync ( ) : Task
Résultat Task

Write() public méthode

public Write ( string data ) : void
data string
Résultat void

WriteAsync() public méthode

public WriteAsync ( string data ) : System.Threading.Tasks.Task
data string
Résultat System.Threading.Tasks.Task