How to uniquely identify a Windows 8 device from WinRT
Posted August 10th, 2012 . 1 Comment .
There are some cases where you need to identify a precise Windows 8 device (imagine a subscription that’s locked to a specific machine), in Windows Phone you could use:
Microsoft.Phone.Info.DeviceExtendedProperties.GetValue( "DeviceUniqueId" );
Unfortunately that was not available in WinRT but good new is that capability has been added into final release:
Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(null);
is all you need to get the identifier tied to a machine.
source: stackoverflow
1 Comment “How to uniquely identify a Windows 8 device from WinRT”
RSS feed for comments on this post. TrackBack URL
Awesome timing. Believe it or not, I have to do exactly this today, and you completely solved my problem. Thank you.
Comment by Bill Sempf — 10/08/2012 @ 15:26