From c83478b25adf454983256dd4fc415f87edd3aab1 Mon Sep 17 00:00:00 2001 From: Can Date: Sun, 21 Jul 2019 02:06:41 +0300 Subject: [PATCH] Not necessarry --- Classes/Processes.cs | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 Classes/Processes.cs diff --git a/Classes/Processes.cs b/Classes/Processes.cs deleted file mode 100644 index f88ee35..0000000 --- a/Classes/Processes.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace CoreCheat_Reborn.Classes -{ - class Processesing - { - public static int GetModule(string procName, string mModuleName) - { - Process[] p = Process.GetProcessesByName(procName); - - if(p.Length > 0) - { - foreach(ProcessModule m in p[0].Modules) - { - if(m.ModuleName == mModuleName) - { - return (Int32)m.BaseAddress; - } - } - return 0; - } - else - { - return 0; - } - } - - public static void Wait(int ms) - { - DateTime start = DateTime.Now; - while ((DateTime.Now - start).TotalMilliseconds < ms) - Application.DoEvents(); - } - } -}