CryptoStream::Clear Method ()

 

Releases all resources used by the CryptoStream.

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

public:
void Clear()

This method wraps a call to the type's IDisposable::Dispose implementation.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: