Flush
override
public override void Flush()When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Exceptions
System.IO.IOException- An I/O error occurs.
public override void Flush()System.IO.IOException