Edit

Share via


SHA256Managed.Dispose(Boolean) Method

Definition

Releases unmanaged resources used by the SHA256Managed object and optionally releases the managed resources.

protected:
 override void Dispose(bool disposing);
protected override sealed void Dispose (bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides NotOverridable Sub Dispose (disposing As Boolean)
Protected Overrides Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

This method is called by the public Dispose() method and the SHA256Managed.Finalize() method. Dispose() invokes the protected Dispose(Boolean) method with the disposing parameter set to true. SHA256Managed.Finalize() invokes Dispose(Boolean) with disposing set to false.

Applies to