Export (0) Print
Expand All

CryptoStream.Clear Method

Releases all resources used by the CryptoStream.

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

Remarks

This method is a simple call to IDisposable.Dispose.

Calling Dispose allows the resources used by the CryptoStream to be reallocated for other purposes. For more information about Dispose, see Cleaning Up Unmanaged Resources.

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:
© 2015 Microsoft