There are several different ways to access the files inside the application . 13.1 section, you can also use the file's URI address directly to the file retrieval, this access method needs to use StorageFile static methods for classes Getfilefromapplicationuriasync , and need to provide documentation for the URI address as a parameter to the method.
< Span style= "font-family:; mso-ascii-font-family: "times New roman" "> If the file is accessed under the Application installation directory, the file's uri Span style= "font-family:; mso-ascii-font-family: "times New roman" "> address to ms-appx: uri address to be start. The sample code looks like this:
// accessing files under the application installation directory
StorageFile APPXF ile = await Storagefile.getfilefromapplicationuriasync (new Uri ("Ms-appx:///file.txt"));
// access file in the application data storage space
StorageFile Appdataf ile = await Storagefile.getfilefromapplicationuriasync (new Uri ("Ms-appdata:///local/file.txt"));
Windows Store app accesses app internal files