Windows apps
Collapse the table of content
Expand the table of content
Information
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::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:
© 2017 Microsoft