Пример #1
0
        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);
        }
Пример #2
0
 public ProcessMethods(GameProcess gameProcess)
 {
     _gameProcess = gameProcess;
 }