Class ReceivedEventArgs
Provides arguments for handling the event for when data is received.
public class ReceivedEventArgs : EventArgs
- Inheritance
-
ReceivedEventArgs
- Inherited Members
Constructors
ReceivedEventArgs(int, byte[])
Initializes a new instance of the ReceivedEventArgs class.
public ReceivedEventArgs(int bytesRead, byte[] buffer)
Parameters
Properties
Buffer
Gets the data read by the connection.
public byte[] Buffer { get; }
Property Value
- byte[]
BytesRead
Gets the number of bytes read.
public int BytesRead { get; }