


To read from an other directory outside the app storage I tried the following: StorageFolder folder = StorageFolder.GetFolderFromPathAsync("D:\\texts\\") How can I read from directories outside of my app storage?.With using Universal Apps I ran into some problems: Var files = Directory.GetFiles(path, "*" + number + "*", Throw new DirectoryNotFoundException(path) Throw new ArgumentNullException(nameof(number)) Throw new ArgumentNullException(nameof(path)) The following code works fine with WPF: public IList GetFilesByNumber(string path, string number) I´m developing an app that is reading jpeg and pdf files from a configurable location on the filesystem.Ĭurrently there is a running version implemented in WPF and now I´m trying to move to the new Windows Universal apps.
