Method Flush Flush(bool) Write the data in the buffer to the file system. Declaration public void Flush(bool synchronous = false) Parameters Type Name Description bool synchronous