ImapGetSocketError Method
Returns a Win32 error code of the last socket-related error.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public int GetSocketError()

Return Value

Type: Int32
An integer value containing the last socket-related error code, or 0 if there is no error.
Remarks
This error code is obtained from NativeErrorCode.
See Also