Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
Syntax
Returns
A task that represents the asynchronous flush operation.
Remarks
Requirements
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0