Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkStream::Flush Method ()

 

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

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

public:
virtual void Flush() override

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
Show:
© 2017 Microsoft