Export (0) Print
Expand All

CryptoStream.FlushFinalBlock Method

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

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public void FlushFinalBlock()

ExceptionCondition
CryptographicException

The key is corrupt, which can cause invalid padding to the stream.

NotSupportedException

The current stream is not writable.

-or-

The final block has already been transformed.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft