Export (0) Print
Expand All

CryptoStream.FlushFinalBlock Method

Updates the underlying data source or repository with the current state of the buffer, then clears the buffer.

[Visual Basic]
Public Sub FlushFinalBlock()
[C#]
public void FlushFinalBlock();
[C++]
public: void FlushFinalBlock();
[JScript]
public function FlushFinalBlock();

Exceptions

Exception Type Condition
NotSupportedException The current stream is not writable.

-or-

The final block has already been transformed.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CryptoStream Class | CryptoStream Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2014 Microsoft