NetworkStream.Flush Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public override void Flush()

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

.NET Framework
Available since 1.1
Return to top