ReadTimeoutStream class ReadTimeoutStream : ReadOnlyStream Read-only Stream that will throw a OperationCanceledException if it has to wait longer than a configurable timeout to read more data Documentation Code public ReadTimeoutStream(Stream stream, TimeSpan readTimeout)