CryptoStream.Clear Method

Definition

Releases all resources used by the CryptoStream.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Remarks

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