System.Net.Security.SslStream.WriteTimeout Property

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

Syntax

public override int WriteTimeout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property returns the value returned by invoking System.IO.Stream.WriteTimeout on the underlying stream. For set operations, the specified value sets the System.IO.Stream.WriteTimeout value on the underlying stream.

If the underlying stream is a System.Net.Sockets.NetworkStream, SslStream.WriteTimeout is in milliseconds and is set to System.Threading.Timeout.Infinite by default so that write 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