public static bool IsKeyDown(Keys vKey) { return(0 != (Imports.GetAsyncKeyState((int)vKey) & 32768)); }
private byte[] ReadMem(int addr, int size) { byte[] array = new byte[size]; Imports.ReadProcessMemory(this.hProcess, (IntPtr)addr, array, size, 0); return(array); }
public static Keys CharToKey(char ch) { return((Keys)Imports.VkKeyScan(ch)); }
private void Open() { this.hProcess = Imports.OpenProcess(2035711u, false, this.Process.Id); }