Begins an asynchronous write operation that writes bytes from the specified buffer to the stream.
- buffer
A byte array that supplies the bytes to be written to the stream.
- offset
The zero-based location in buffer at which to begin reading bytes to be written to the stream.
- count
An int value that specifies the number of bytes to read from buffer.
- asyncCallback
An AsyncCallback delegate that references the method to invoke when the write operation is complete.
- asyncState
A user-defined object that contains information about the write operation. This object is passed to the asyncCallback delegate when the operation completes.
![]()
An IAsyncResult object indicating the status of the asynchronous operation.