The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CryptoStream::FlushFinalBlock Method ()
.NET Framework (current version)
Updates the underlying data source or repository with the current state of the buffer, then clears the buffer.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| 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. |
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: