Receives data from a connected SecureSocket into a specific location of the receive buffer.
The number of bytes received.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | The size exceeds the size of buffer. |
| SocketException | An operating system error occurs while accessing the SecureSocket. |
| ObjectDisposedException | The SecureSocket has been closed. |
| SecurityException | An error occurred while decrypting the received data. |
SecureSocket Class | Org.Mentalis.Security.Ssl Namespace | SecureSocket.Receive Overload List