[UWP][Bug]Listing folders derived from MediaServerDevices returns only the first 200 items

Dimitrov 1 Reputation point
2020-08-25T19:05:57.747+00:00

When using Windows.Storage.KnownFolders.MediaServerDevices, and folders derived from it, when there are more than 200 items in the folder, GetItemAsync() returns the first 200 items only, and there is no way to get the next ones. Even with GetFilesAsync(CommonFileQuery.DefaultQuery,201,220) which returns 0 even though there are files(and they are visible through windows explorer(so windows is seeing them).
Is there a way to access more than 200 files from folder?

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.