public string readValue(string filename)
{
using (IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null))
{
try
{
using (var iStream = new IsolatedStorageFileStream(filename, FileMode.Open, isoStore))
{
using (var reader = new StreamReader(iStream))
{
return reader.ReadLine();
}
}
}
catch (FileNotFoundException)
{
return null;
}
}
}
/// <summary>