locked
Is there a api to confirm whether current storage type is phone or sd card when downloading file? RRS feed

  • Question

  • Is there a api to confirm whether current storage type is phone or sd card when downloading file?

    we can configure storage type on storage sense. i need to get the configure value.

    Thursday, November 20, 2014 3:26 AM

Answers

  • Your app will need to declare the removablestorage capability when it installs.  If given that permission, then it can write files to the SD card if the file is of the type that it handles.  Your app will decide where to place a downloaded file, whether it's on the SD card or internal storage - if given that permission.  See this link for more information:

    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn611857.aspx

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, November 20, 2014 1:53 PM