Exception of Unauthorized while using MostRecentlyUsedList in metro apps

前端 未结 1 349
半阙折子戏
半阙折子戏 2021-01-28 21:44

I am working with Store apps using C#. I am using StorageApplicationPermissions.MostRecentlyUsedList to load Local Epub files. After getting those file as a Storage

1条回答
  •  暖寄归人
    2021-01-28 22:00

    Finally I solved the issue of getting exception of Unauthorized With the use of Blog

    I changed the code snippet according to my requirement.

    The source of code describes writes bytes of file in ZipArchiveEntry, hence I used a helper method GetByteFromFile(), which takes StorageFile object and returns me byte[] array.

    Finally thanks to Xyroid

    0 讨论(0)
提交回复
热议问题