Answered by:
Does easClientDeviceInformation.id return a unique id?

Question
-
Hi,
I would like to now whether the id returned from easClientDeviceInformation.id; is unique for a device (computer/surface/tab etc). Is this likely to change? I have to use this id in my app to uniquely identify the device.
Thanks,
Neena
- Edited by Neena IS Wednesday, November 28, 2012 9:08 AM Added Reference
Wednesday, November 28, 2012 9:07 AM
Answers
-
Hi,
There is no way to find the Device ID of the machine / tablet on which the Metro app is running. For Windows 8 Device experience you can refer to -- http://msdn.microsoft.com/en-us/library/windows/hardware/br259108.aspx
Also, you can get the Computer Name (if that will do). Reference - http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/2ca0d5de-9db5-4349-839c-e01ff614ec6e
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework- Marked as answer by Song Tian Tuesday, December 4, 2012 3:01 PM
Monday, December 3, 2012 1:48 AM
All replies
-
But this is user specific? If another user logs in to the device, the id changes.Thursday, November 29, 2012 11:38 AM
-
Hi,
There is no way to find the Device ID of the machine / tablet on which the Metro app is running. For Windows 8 Device experience you can refer to -- http://msdn.microsoft.com/en-us/library/windows/hardware/br259108.aspx
Also, you can get the Computer Name (if that will do). Reference - http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/2ca0d5de-9db5-4349-839c-e01ff614ec6e
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework- Marked as answer by Song Tian Tuesday, December 4, 2012 3:01 PM
Monday, December 3, 2012 1:48 AM -
Come on Song Tian, answer the question. It's a simple yes or no question. Is the ID user-specific?Sunday, December 9, 2012 10:36 PM
-
Hi,
The Id property represents the DeviceId using the GUID truncated from the first 16 bytes of the SHA256 hash of MachineID, User SID, and App ID where the MachineID uses the SID of the local users group.
This ID is not unique id. But it is user-specific.
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Monday, December 10, 2012 6:49 AM -
Will this Id ever change for a particular user on a particular machine?Friday, January 18, 2013 7:10 AM