Dela via


SecurityProviderTpmHsm.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by the SecurityProviderTpmHsm and optionally disposes of the managed resources.

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

Parameters

disposing
Boolean

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

Remarks

Calls to the TPM library can potentially return a Tpm2Lib.TssException or a Tpm2Lib.TpmException if your TPM hardware does not support the relevant API call.

Applies to