TlsStream.BeginWrite Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9119)
BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
Asynchronously writes data into this TlsStream.
Declaration
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | An array of bytes to be written. |
Int32 | offset | The zero-based byte offset in the buffer at which to begin writing bytes to the stream. |
Int32 | count | The number of bytes to be taken from 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. |