Exemplo n.º 1
0
 /// <summary>
 /// The reload.
 /// </summary>
 public static void Reload()
 {
     using (ReaderWriterLock.GetWriteLock())
     {
         current = null;
         installed = null;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// The delete.
 /// </summary>
 public static void Delete()
 {
     using (ReaderWriterLock.GetWriteLock())
     {
         string filePath = Path.Combine(CommonHelper.MapPath("~/App_Data/"), FileName);
         File.Delete(filePath);
         current = null;
         installed = null;
     }
 }