다음을 통해 공유


AttestationMechanism.GetAttestation Method

Definition

Get the attestation of this object. The returned attestation may be of type SymmetricKeyAttestation, X509Attestation, or TpmAttestation. By casting the returned Attestation to the appropriate attestation type, you can access the x509/symmetric key specific attestation fields. Use Type to cast this field to the appropriate attestation type.

public Microsoft.Azure.Devices.Provisioning.Service.Attestation GetAttestation ();
member this.GetAttestation : unit -> Microsoft.Azure.Devices.Provisioning.Service.Attestation
Public Function GetAttestation () As Attestation

Returns

The attestation of this object.

Applies to