Hello,
Welcome to Microsoft Q&A!
The ASHWID you get from HardwareIdentification.GetPackageSpecificToken.ID
is not always the same. It will change in some scenarios. Based on this document: Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic, it mentioned the following information:
The ASHWID provides a strong binding between the app/package and the device by representing several individual hardware characteristics. In order to protect user privacy, the ASHWID varies from app to app. Unless the underlying hardware has changed, two calls from the same app will result in identical ASHWIDs. However, the ASHWID changes if the hardware profile of the device changes, such as when the user unplugs a USB Bluetooth adapter. The back-end cloud service can verify the ASHWID and compare it with previously reported values.
The ASHWID from a given device may change for a variety of reasons depending on when it is queried:
- Users may decide to upgrade or augment their existing devices resulting in a change in the components that affect the ASHWID.
- Users may temporarily connect peripherals to their devices that add to the list of components.
- Power management devices (for slates and devices running on ARM processors) might switch off certain hardware components to conserve battery life.
Currently, we do not know how will the HardwareIdentification.GetPackageSpecificToken.ID
changes.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.