Reads data from the stream.
[Visual Basic]
Overrides Public Function Read( _
ByVal buffer As Byte(), _
ByVal offset As Integer, _
ByVal size As Integer _
) As Integer
The number of bytes read from the stream.
| Exception Type | Condition | 
|---|---|
| ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). | 
| ArgumentOutOfRangeException | The specified offset or size exceeds the size of buffer. | 
| IOException | There is a failure while reading from the network. | 
SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace