I am new to windows.I have one small issue i.e I want to download a folder for the first time when the application is launched.After the file is download I want to move to the Main Page.
StorageFile localFile = await destinationFolder.CreateFileAsync(localFileName, CreationCollisionOption.ReplaceExisting);
BackgroundDownloader downloader = new BackgroundDownloader();
DownloadOperation download = downloader.CreateDownload(m_source, localFile);
I have used this code for download in mainpage.
Create a fake splash screen. When the app starts, check if the file is downloaded (exists). If yes, go to the main page. If not, go to the fake splacscreen, download the file and when the download finishes, go to the main page.