Clears all buffers for this stream and causes any buffered data to be written to the underlying device.

Namespace:  Rebex.Security
Assembly:  Rebex.Security (in Rebex.Security.dll)

Syntax

Visual Basic
Public Overrides Sub Flush
C#
public override void Flush()

Exceptions

ExceptionCondition
System.IO..::..IOException An I/O error occurs.
System..::..ObjectDisposedException Methods were called after the stream was closed.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also