public void method_0() { string str = ""; try { str = System.IO.File.ReadAllText(Path.Combine(this.String_4, "etag")); } catch { } string contents = GClass6.smethod_14(this.String_0); if (this.Boolean_0 && !(str != contents)) { return; } Class67.smethod_3(this); if (!this.Boolean_0) { return; } System.IO.File.WriteAllText(Path.Combine(this.String_4, "etag"), contents); }
public void CheckWebForEmulatorUpdate() { string Current_Emulator_Metadata = ""; try { Current_Emulator_Metadata = System.IO.File.ReadAllText(Path.Combine(this.Root_BIN_Path, "etag")); } catch { } string Downloaded_Emulator_File_Metadata = GClass6.Get_URL_File_Metadata(this.Get_Emulator_Web_Location); if (this.Boolean_0 && !(Current_Emulator_Metadata != Downloaded_Emulator_File_Metadata)) { return; } Class67.smethod_3(this); if (!this.Boolean_0) { return; } System.IO.File.WriteAllText(Path.Combine(this.Root_BIN_Path, "etag"), Downloaded_Emulator_File_Metadata); }