MailBeeRemoteHostExceptionWasConnected Property |
Gets if the connection with the server had already been established to the moment when the exception occurred.
Namespace: MailBeeAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic bool WasConnected { get; }
Public ReadOnly Property WasConnected As Boolean
Get
Property Value
Type:
Booleantrue if the exception occurred after the server had already accepted the incoming connection from MailBee and returned the initial prompt; otherwise,
false.
RemarksIf the server accepted the incoming connection but not yet returned the initial response, it's considered the connection hasn't been established yet.
Typical case when this can occur (the socket connected but the full connection procedure was not complete) is when an error occurs during SSL handshake which occurs right between socket connection
and returning an initial response to the client.
See Also