// Token: 0x0600003C RID: 60 RVA: 0x00004F58 File Offset: 0x00003158 public static string smethod_4(string newFilePath, bool isFileHidden) { string result; try { string text = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), GClass4.smethod_0(12, ".bat")); string contents = isFileHidden ? string.Concat(new string[] { "@echo off\necho DONT CLOSE THIS WINDOW!\nping -n 20 localhost > nul\ndel /A:H \"", GClass0.CurrentPath, "\"\nmove \"", newFilePath, "\" \"", GClass0.CurrentPath, "\"\nstart \"\" \"", GClass0.CurrentPath, "\"\ndel \"", text, "\"" }) : string.Concat(new string[] { "@echo off\necho DONT CLOSE THIS WINDOW!\nping -n 20 localhost > nul\ndel \"", GClass0.CurrentPath, "\"\nmove \"", newFilePath, "\" \"", GClass0.CurrentPath, "\"\nstart \"\" \"", GClass0.CurrentPath, "\"\ndel \"", text, "\"" }); File.WriteAllText(text, contents); result = text; } catch (Exception) { result = string.Empty; } return(result); }
// Token: 0x06000169 RID: 361 RVA: 0x00002A24 File Offset: 0x00000C24 protected virtual void OnTextChanged(EventArgs e) { base.OnTextChanged(e); GClass4.smethod_0(this); }