Answered by:
GUID/ANID/Unique Id

Question
-
Hi,
I need to get some kind of unique identifier for a Windows 8 Metro app. I need to get atleast one of the following:
1. ANID or Windows Live Id - to identify unique people using the app.
OR
2. GUID or device Id to identify the device the app is installed on.
I made the simple Hello World metro app but there is no GUID or ANID or any other Id in my appxmanifest file. Do I need to generate the GUID/ANID/Device Id myself?
I am writing code in Javascript/html.
Thanks!!!
Monday, August 20, 2012 2:48 PM
Answers
-
Hi Troy,
You need to install the RTM version of Windows 8 for this functionality:
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, August 21, 2012 1:53 PM
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, August 21, 2012 2:22 PM
Tuesday, August 21, 2012 1:53 PMModerator
All replies
-
Hi Troy,
You want the hardware id. See the last post in this thread:
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Monday, August 20, 2012 7:34 PM
Monday, August 20, 2012 7:34 PMModerator -
Hi Jeff,
I already read that post...but for some reason I do not see the Windows.System.Profile namespace. I see Windows.System.UserProfile namespace but I am sure its not the same.
I am using javascript to do this code.
Thanks!
Monday, August 20, 2012 8:18 PM -
Are you running VS 2012 Express and the RTM version of Windows 8?
Jeff Sanders (MSFT)
Tuesday, August 21, 2012 1:34 PMModerator -
I am running VS 2012 Express on Windows 8 Release Preview (download on July 26)
I also tried installing VS Ultimate 2012 RC, but when I try to deploy I get the following error:
1 Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.WinJS.1.0\1.0\Microsoft.WinJS.1.0.appx" failed to install. Windows cannot install package Microsoft.WinJS.1.0 because this package requires a higher Windows version. The package requested Windows version 6.2 with AppModel version 1, while the current Windows version is 6.2 with AppModel version 0.HelloWorld
Do I need to reinstall Windows 8?
Thanks for your help!
Tuesday, August 21, 2012 1:50 PM -
Hi Troy,
You need to install the RTM version of Windows 8 for this functionality:
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, August 21, 2012 1:53 PM
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, August 21, 2012 2:22 PM
Tuesday, August 21, 2012 1:53 PMModerator -
PS. In the event you are not an MSDN or TechNet subscriber you can still install an RTM Version:
If you’re not an MSDN subscriber, you can download an evaluation version of Windows 8 RTM from TechNet. Note this version will expire and you cannot upgrade.
Jeff Sanders (MSFT)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Tuesday, August 21, 2012 1:57 PM
Tuesday, August 21, 2012 1:57 PMModerator -
I am not sure. You can post this question on the tools forum and they should be able to help. Also search that forum for the same error.
Jeff Sanders (MSFT)
Tuesday, August 21, 2012 2:22 PMModerator -
Ignore my previous comment, I got everything working as I needed.
Thanks a lot for your time and help!!Really appreciate it!
Tuesday, August 21, 2012 6:33 PM -
@troy1204 please post what the solution was.Tuesday, October 30, 2012 11:10 AM