Now I use the file picker to select a file. But I want to store the file to the same folder that containing this file. Is there any method to achieve this. Because I don't find any way that I can use interface IStorageFile of picked file to get its containing
folder's IStorageFolder interface. Or it is not legal??
Permissions are granted on a per-file basis when using the file picker, and per-folder when using the folder picker. So you'd have to use the picker to select the folder, then you'd have permissions to create multiple files.