예제 #1
0
        private async void SaveNewConfigFile()
        {
            StorageFolder localFolder = ApplicationData.Current.LocalFolder;
            StorageFile   file        = await localFolder.CreateFileAsync("config.csv", CreationCollisionOption.ReplaceExisting);

            string csv = pMan.CommandsToCSV();
            await FileIO.WriteTextAsync(file, csv);
        }