System.Net.Sockets.NetworkStream.Flush Method

Flushes data from the stream. This method is reserved for future use.

Syntax

public override void Flush ()

Remarks

The NetworkStream.Flush method implements the System.IO.Stream.Flush method; however, because System.Net.Sockets.NetworkStream is not buffered, it has no affect on network streams. Calling the NetworkStream.Flush method does not throw an exception.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0