HardwareToken class

HardwareToken class

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

Syntax


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

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-only

Gets the certificate that is used to sign the Id and is used to help verify the authenticity of the Id.

Id

Read-only

Gets the hardware identifier that identifies the device.

Signature

Read-only

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

 

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0
Mobile, introduced version 10.0.10240.0
Universal, introduced version 10.0.14393.0

API contract

Windows.System.Profile.ProfileHardwareTokenContract, introduced version 1.0

Namespace

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

Metadata

Windows.System.Profile.ProfileHardwareTokenContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

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

 

 

Show:
© 2016 Microsoft