Gets the number of bytes transferred in the socket operation.
Assembly: System (in System.dll)
This property provides the number of bytes transferred in an asynchronous socket operation that can receive or send data. If zero is returned from a read operation, the remote end has closed the connection.
This property is set by all asynchronous socket operations except the Socket.DisconnectAsync method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2