System.Security.Cryptography.CryptoStream.Clear Method

Releases all resources used by the System.Security.Cryptography.CryptoStream.

Syntax

public void Clear ()

Remarks

This method is a simple call to IDisposable.Dispose.

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

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0