Is it true that UWP does not support User/Custom StorageLibraries?

Groovykool 236 Reputation points
2020-01-22T20:40:57.207+00:00

Hello,

I have not found any way to access or get User/Custom StorageLibraries?

This method from the StorageLibrary Class only works for the Known Libraries?

public static IAsyncOperation GetLibraryAsync(KnownLibraryId libraryId)

Regards,
Tony

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. James Dailey - MSFT 336 Reputation points Microsoft Employee
    2020-01-24T01:35:07.36+00:00

    Unfortunately you can't access custom StorageLibraries through the UWP APIs. UWP requires that you request access to individual libraries through the manifest. At this time there is no way to request access to a custom library via the UWP manifest. Because of this you can't register the custom library and use the GetLibraryAsync to access it.

    You can still access the library in your app via the file picker.


0 additional answers

Sort by: Most helpful