Clear Method

CryptoStream.Clear Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Releases all resources used by the CryptoStream.

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

public void Clear()

This method is a simple call to the IDisposable.Dispose method.

Calling IDisposable.Dispose allows the resources used by the CryptoStream to be reallocated for other purposes.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft