예제 #1
0
 /// <summary>
 /// The reload.
 /// </summary>
 public static void Reload()
 {
     using (ReaderWriterLock.GetWriteLock())
     {
         current = null;
         installed = null;
     }
 }
예제 #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;
     }
 }