HardwareToken class

Applies to Windows and Windows Phone

Represents a token that contains a hardware based identification that is sufficiently unique.

Syntax


var hardwareToken = Windows.System.Profile.HardwareIdentification.getPackageSpecificToken();

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The HardwareToken class has these types of members:

Methods

The HardwareToken class inherits methods from the Object class (C#/VB/C++).

Properties

The HardwareToken class has these properties.

PropertyAccess typeDescription

Certificate

Read-onlyGets the certificate that is used to sign the Id and is used to help verify the authenticity of the Id.

Id

Read-onlyGets the hardware identifier that identifies the device.

Signature

Read-onlyGets the digital signature of hardware Id that helps verify the authenticity of returned Id.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.System.Profile
Windows::System::Profile [C++]

Metadata

Windows.winmd

See also

Object
Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic

 

 

Show:
© 2014 Microsoft