Esempio n. 1
0
 protected void Read()
 {
     if (string.IsNullOrEmpty(filename))
     {
         filename = GetAppConfigurationFile();
     }
     if (System.IO.File.Exists(filename))
     {
         try
         {
             plist = PList.Read(filename);
         }
         catch (System.IO.FileNotFoundException)
         {
             plist = new Hashtable();
         }
     }
     else
     {
         plist = new Hashtable();
     }
 }
Esempio n. 2
0
 protected void Write()
 {
     PList.Write(filename, plist);
 }