示例#1
0
        static void Main(string[] args)
        {
            ReadWriteMem mem = new ReadWriteMem("RocketLeague.exe");



            /*ReadWriteMem.ReadProcessMemory((int)processHandle, 0xD5369227FC, buffer, buffer.Length, ref bytesRead);
             *
             * Console.WriteLine(Encoding.Unicode.GetString(buffer) +
             *    " (" + bytesRead.ToString() + "bytes)");
             * Console.ReadLine();
             */
        }
示例#2
0
 public ReadWriteMem(string exeName)
 {
     PROCESS_ALL_ACCESS_FINAL = STANDARD_RIGHTS_REQUIRED + SYNCHRONIZE + "0xFFF";
     rocketLeagueP            = Process.GetProcessesByName(exeName)[0];
     processHandle            = ReadWriteMem.OpenProcess(PROCESS_WM_READ, false, rocketLeagueP.Id);
 }
示例#3
0
 public PlayHelper(string xname)
 {
     exeName = xname;
     rwm     = new ReadWriteMem(exeName);
 }