SecurityProviderTpmHsm.Dispose(Boolean) 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 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.