Gets a value that indicates whether data is available on the System.Net.Sockets.NetworkStream to be read.
true indicates that data is available to be read; false indicates that there is no data available to be read.
Type Reason ObjectDisposedException The current instance has been disposed.
Use the NetworkStream.DataAvailable property to determine if data is ready to be read. If NetworkStream.DataAvailable is true, a call to NetworkStream.Read(Byte[], int, int) returns immediately. If the remote host shuts down or closes the connection, NetworkStream.DataAvailable may throw a System.Net.Sockets.SocketException.