System.Net.Security.SslStream.ReadTimeout Property

Gets or sets the amount of time a read operation blocks waiting for data.

Syntax

public override int ReadTimeout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property returns the value returned by invoking System.IO.Stream.ReadTimeout on the underlying stream. When you set this property, the System.IO.Stream.ReadTimeout value on the underlying stream is set to the specified value.

If the underlying stream is a System.Net.Sockets.NetworkStream, SslStream.ReadTimeout is in milliseconds and is set to System.Threading.Timeout.Infinite by default so that read operations do not timeout.

Requirements

Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0