public bool Is64BitProcess(GameProcess gameProcess) { if (!Environment.Is64BitOperatingSystem) { return(false); } if (!IsWow64Process(gameProcess.Process.Handle, out var isWow64Process)) { throw new Win32Exception(Marshal.GetLastWin32Error()); } return(!isWow64Process); }
public ProcessMethods(GameProcess gameProcess) { _gameProcess = gameProcess; }