Yes. I would recommend reading the entire page here, because it covers most of the common variations you'll want to consider. In particular you will probably be interested in the ApplicationData.LocalFolder
and the application data sample.
The solution will still involve getting a StorageFile
at some point, of course, so it wouldn't be difficult to fit into the code you provided. Instead of opening a picker, you use CreateFileAsync
method on a StorageFolder
you get by using ApplicationData.LocalFolder
(or one of the variations).