using System;
using System.Collections.Generic;
using System.IO;
using System.IO.IsolatedStorage;
using System.Text;
public class Tester
{
public static void Main()
{
IsolatedStorageFileStream configFile =new IsolatedStorageFileStream("Tester.cfg", FileMode.Create);
StreamWriter writer = new StreamWriter(configFile);
String output;
System.DateTime currentTime = System.DateTime.Now;
output = "Last access: " + currentTime.ToString();
writer.WriteLine(output);
output = "Last position = 27,35";
writer.WriteLine(output);
writer.Close();
configFile.Close();
}
}
|