I am using C# and to get a handle to csgo I do not use OpenProcess:
Code:
Process[] process = Process.GetProcessesByName("csgo");
return process[0].Handle;
I've read that csgo / steam looks for open handles to the game. Should I close the handle with CloseHandle() function? I've also read that you can "attach" the cheat to for say, chrome.exe and run the cheat from there? I haven't found much info about how to do this or how this works, so I'd appriciate if someone would tell me more about this and how to do it.