Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.
Use this overload when you want to ensure that all buffered data in intermediate file buffers is written to disk.
When you call the FileStream.Flush(bool) method, the operating system I/O buffer is also flushed.