Dart.PowerTCP.SslSockets Namespace > SymmetricCryptoStream Class : Flush Method (SymmetricCryptoStream) |
Updates the underlying repository with the current state of the buffer and then clears the buffer.
[Visual Basic]
Overrides Public Sub Flush()
[C#]
public override void Flush();
[C++]
public: void Flush(); override
[C++/CLI]
public:
void Flush(); override
Exception | Description |
---|---|
IOException | An I/O error occurs. |
ObjectDisposedException | The Stream is closed. |
If the Stream contains any internal Streams as members, this method will also cause the Flush method of all internal Streams.
This method MUST be called when writing is complete for operations to operate properly. One example is when creating a message comprised of only headers. If Flush is not called, the headers will be lost.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
SymmetricCryptoStream Class | SymmetricCryptoStream Members
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.