System.Net.Sockets.SocketAsyncEventArgs public class SocketAsyncEventArgs : EventArgs, IDisposable Documentation public Socket AcceptSocket { get; set; } public byte[] Buffer { get; } public IList<ArraySegment<byte>> BufferList { get; set; } public int BytesTransferred { get; } public Exception ConnectByNameError { get; } public Socket ConnectSocket { get; } public int Count { get; } public bool DisconnectReuseSocket { get; set; } public SocketAsyncOperation LastOperation { get; } public int Offset { get; } public IPPacketInformation ReceiveMessageFromPacketInfo { get; } public EndPoint RemoteEndPoint { get; set; } public SendPacketsElement[] SendPacketsElements { get; set; } public TransmitFileOptions SendPacketsFlags { get; set; } public int SendPacketsSendSize { get; set; } public SocketError SocketError { get; set; } public SocketFlags SocketFlags { get; set; } public object UserToken { get; set; } public event EventHandler<SocketAsyncEventArgs> Completed public SocketAsyncEventArgs() public void Dispose() protected virtual void OnCompleted(SocketAsyncEventArgs e) public void SetBuffer(byte[] buffer, int offset, int count) public void SetBuffer(int offset, int count)