Language

HardwareToken.Signature Property

Definition

Gets the digital signature of hardware Id that helps verify the authenticity of returned Id.

public:
 property IBuffer ^ Signature { IBuffer ^ get(); };
IBuffer Signature();
public IBuffer Signature { get; }
var iBuffer = hardwareToken.signature;
Public ReadOnly Property Signature As IBuffer

Property Value

The digital signature of Id.

Remarks

The signature allows a cloud service to verify that the Id was genuinely generated by Windows and has not been tampered with. Verification uses the public key from the Certificate property.

If a nonce was passed to HardwareIdentification.GetPackageSpecificToken, the nonce is incorporated into the signed data. This allows the cloud service to confirm the freshness of the response and guard against replay attacks.

For the full cloud-side verification workflow, including certificate chain validation and revocation checking, see Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic.

Applies to

See also