CryptoStream.Clear Method


Releases all resources used by the CryptoStream.

 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub 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

Applies to

See also