CryptoStream.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.