แก้ไข

แชร์ผ่าน


SHA1Managed.Dispose(Boolean) Method

Definition

Releases unmanaged resources used by the SHA1Managed 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 SHA1Managed.Finalize() method. Dispose() invokes the protected Dispose(Boolean) method with the disposing parameter set to true. SHA1Managed.Finalize() invokes Dispose(Boolean) with disposing set to false.

Applies to