AttestationMechanism.GetAttestation 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.
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
Azure SDK for .NET