Stream. Flush Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flushes the internal buffers.
public: override void Flush();
public override void Flush ();
override this.Flush : unit -> unit
Public Overrides Sub Flush ()
The underlying stream is closed.
This method flushes only if the current compression mode is Compress and the underlying stream still has some input left to write.