This content was proof-read by Grammarly. You can Try Grammary for FREE
If you want to copy a file or image from a folder to localstorage in Windows 10 , you can use the CopyAsync method of the StorageFile class to do it.
How to Copy Image from Assets folder to localstorage in Windows 10 ?
StorageFile file1 = await StorageFile.GetFileFromApplicationUriAsync( new Uri("ms-appx:///Assets/image1.png")); await file1.CopyAsync(ApplicationData.Current.LocalFolder, "image1.png");
Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.