Search code examples
c#windows-store-appsfile-storage

StorageFolder find hidden files


I have some hidden files in my storage but I cannot find a way how to get these files.

var rootFolder = ApplicationData.Current.LocalFolder;
var logFolder= await rootFolder.GetFolderAsync("Logging");
var logFiles = await logFolder.GetFilesAsync(CommonFileQuery.DefaultQuery);

logFiles is always zero.

Is there a way to retrieve hidden files?


Solution

  • AFAIK, the StorageFile cannot get the hidden files, here's a confirmation: https://mtaulty.com/2013/02/22/m_14585/