/// <summary>
/// It serializes dictionary in binary format and stores it in a binary file.
/// </summary>
public void Save()
{
//BRIDGETODO : implemente the code below
#if !BRIDGE
// IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly, null, null);
IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForAssembly();
Stream stream = new IsolatedStorageFileStream(Filename, FileMode.Create, isoStore);
try
{
// Serialize dictionary into the IsolatedStorage.
Formatter.Serialize(stream, AppDictionary);
}
finally
{
stream.Close();
}
#endif
}