Answered by:
Accessing Registry from Metro Style apps

Question
-
I came to know that metro style apps cannot read from or write to registry. But there are some devices like printers which write to registry when they are connected and I need to read such values from registry from my metro style app. For eg: HKEY_LOCAL_MACHINE\CurrentControlSet\Enum\USB\ etc. How can I do this from my metro app?
- Moved by Helen Zhao Thursday, March 15, 2012 8:03 AM (From:Visual C++ Language)
Wednesday, March 14, 2012 3:42 AM
Answers
-
Its me here,
Accessing the registry from Metro style apps is not allowed.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, June 6, 2012 5:08 AM
Wednesday, June 6, 2012 5:08 AMModerator
All replies
-
Try http://social.msdn.microsoft.com/Forums/en-us/tailoringappsfordevices/threads
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVPThursday, March 15, 2012 12:02 AM -
Hi its_me_here,
According to your description and Sheng Jiang's suggestion, I'd like to move this thread to "Tailoring your Metro style app for hardware and devices Forum" for better support.
Thanks for your understanding.
Have a nice day!Helen Zhao [MSFT]
MSDN Community Support | Feedback to us
Thursday, March 15, 2012 8:02 AM -
its me here,
What scenario are you trying to enable in your Metro style app?
Best Wishes - Eric
Friday, May 25, 2012 5:47 AMModerator -
Its me here,
Accessing the registry from Metro style apps is not allowed.
Best Wishes - Eric
- Marked as answer by Eric Hanson-MSFTModerator Wednesday, June 6, 2012 5:08 AM
Wednesday, June 6, 2012 5:08 AMModerator