Exemple #1
0
        // Token: 0x0600113D RID: 4413 RVA: 0x00046634 File Offset: 0x00044834
        public static bool IsLegacyPatchFilePresent(string edbFilePath)
        {
            string path;
            string path2;

            EseDatabasePatchFileIO.GetLegacyNames(edbFilePath, out path, out path2);
            return(File.Exists(path) || File.Exists(path2));
        }
Exemple #2
0
 // Token: 0x0600113C RID: 4412 RVA: 0x000465F0 File Offset: 0x000447F0
 public static void GetNames(string edbFilePath, out string doneName, out string inprogressName)
 {
     using (EseDatabasePatchFileIO eseDatabasePatchFileIO = new EseDatabasePatchFileIO(edbFilePath, null, true, true))
     {
         doneName       = eseDatabasePatchFileIO.m_patchFileNameDone;
         inprogressName = eseDatabasePatchFileIO.m_patchFileNameInProgress;
     }
 }
Exemple #3
0
 // Token: 0x0600113E RID: 4414 RVA: 0x0004665C File Offset: 0x0004485C
 public static void DeleteAll(string edbFilePath)
 {
     using (EseDatabasePatchFileIO eseDatabasePatchFileIO = new EseDatabasePatchFileIO(edbFilePath, null, true, true))
     {
         EseDatabasePatchFileIO.DeletePatchFile(eseDatabasePatchFileIO.m_patchFileNameInProgress);
         EseDatabasePatchFileIO.DeletePatchFile(eseDatabasePatchFileIO.m_patchFileNameDone);
         string fileFullPath;
         string fileFullPath2;
         EseDatabasePatchFileIO.GetLegacyNames(edbFilePath, out fileFullPath, out fileFullPath2);
         EseDatabasePatchFileIO.DeletePatchFile(fileFullPath2);
         EseDatabasePatchFileIO.DeletePatchFile(fileFullPath);
     }
 }