- Category:
- File Formats
- Tags:
-
- File Size:
- 532kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- 55652147
Description: private Pop3ConnectionState Connect(string host, int port, SslHandShake sslHandShake, bool ssl)
{
OnConnecting()
this._host = host
this._port = port
this._ssl = ssl
this._tcpClient = this.GetTcpClient(host, port)
if (this._tcpClient == null)
{
return Pop3ConnectionState.DISCONNECTED
}
this._stream = _tcpClient.GetStream()
if (ssl)
{
//do ssl handshake
if (sslHandShake == null) sslHandShake = new SslHandShake(host)
DoSslHandShake(sslHandShake)
if (_sslStream == null || _sslStream.IsAuthenticated == false)
{
this._connectionState = Pop3ConnectionState.DISCONNECTED
this._tcpClient = null
return this._connectionState
}
this._st
To Search:
File list (Check if you may need any files):
pop3.docx