Thursday, August 09, 2012 9:28 AM
In metro stye app, there is a Package.AppxManifest file, where you can specify the Capabilities the app requires. But How can i enable a non-metro app to access the capabilites? For example, you must specify a Proximity capability when you use PeerFinder class. Now I can call PeerFinder in non-metro application, but it throw "access denied "exception as I can't find where to specity the Proximity capability.
Anyone can help?
Thanks in advance.
- Edited by Paddy2Green Thursday, August 09, 2012 9:30 AM
Thursday, August 09, 2012 6:23 PMModerator
You can't set capabilities. There is no need to as desktop apps have full access anyway. PeerFinder is not available to desktop apps:
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Thursday, August 09, 2012 6:23 PM
Monday, August 13, 2012 2:06 AM
But It is so pity that Apps other than Metro style can not access to the PeerFinder class.