TlsStream.BeginRead Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9083)
BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
Asynchronously reads data from this TlsStream.
Declaration
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | An array of bytes to fill with read data. |
Int32 | offset | The zero-based byte offset in the buffer at which to copy bytes read from the stream. |
Int32 | count | The maximum number of bytes to be read into the buffer. |
AsyncCallback | callback | The AsyncCallback delegate. |
Object | state | An object containing state information for this request. |
Returns
Type | Description |
---|---|
IAsyncResult | An IAsyncResult that references the asynchronous connection. |