Writes data to the stream.
[Visual Basic]
Overrides Public Sub Write( _
ByVal buffer As Byte(), _
ByVal offset As Integer, _
ByVal size As Integer _
)
| 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 writing to the network. | 
SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace