1

I know it is not possible to share files with other apps in xbox one, but I don't know how to check it? I guess it is using ApiInformation, but how?

Notice I know how to check the device family, but I'd like to check the feature instead, so when the share feature is implemented in xbox I don't need to change the app.

Alvaro Rivoir
  • 401
  • 3
  • 9
  • 1
    Unfortunately, there is currently no way to detect whether the underlying platform supports the Share contract. All that happens is that the ShowShareUI method returns without doing anything if the platform does not support Share. – Raymond Chen Oct 03 '16 at 04:42

2 Answers2

0

This is possible now since Windows 10 Anniversary Update (aka RS1). If you change the Target Version in Properties to Windows 10 Anniversary Edition (10.0; Build 14393).
enter image description here You can then use DataTransferManager.IsSupported method to determine if the device supports sharing. This method returns true if the device supports sharing, false otherwise.

Jay Zuo
  • 15,653
  • 2
  • 25
  • 49
0

In case you still need the solution, DataTransferManager now has a method called IsSupported.

Check this reply to my question.

Community
  • 1
  • 1
Ferdin
  • 362
  • 3
  • 12