private static void smethod_18() { if (Class67.zipArchive_0 != null) { return; } string path = Path.Combine(GClass88.DirectoryCache, "etag"); string str = Path.Combine(GClass88.DirectoryCache, "db"); string string_2 = GClass6.Get_URL_File_Metadata(Class67.DataV6URL); if (System.IO.File.Exists(path) && System.IO.File.Exists(str)) { if (!(System.IO.File.ReadAllText(path) != string_2) && new FileInfo(str).Length != 0L) { using (MemoryStream memoryStream_0 = new MemoryStream(System.IO.File.ReadAllBytes(str))) Class67.smethod_16(memoryStream_0); } else { Class67.smethod_17(string_2); } } else { Class67.smethod_17(string_2); } }
private static void smethod_17(string string_2) { string string_0_1 = Path.Combine(GClass88.DirectoryCache, "etag"); string string_0_2 = Path.Combine(GClass88.DirectoryCache, "db"); using (MemoryStream memoryStream_0 = new MemoryStream(new GClass78().DownloadFile(Class67.DataV6URL))) Class67.smethod_16(memoryStream_0); GClass6.smethod_6(string_0_1); GClass6.smethod_6(string_0_2); }
private static void smethod_17(string string_2) { string string_0_1 = Path.Combine(GClass88.CachePath, "etag"); string string_0_2 = Path.Combine(GClass88.CachePath, "db"); using (MemoryStream memoryStream_0 = new MemoryStream(new GClass78().method_2(Class67.String_5))) Class67.smethod_16(memoryStream_0); GClass6.smethod_6(string_0_1); GClass6.smethod_6(string_0_2); }