Code:
IntPtr stringAdr = WinApi.VirtualAllocEx(client.Process.Handle, IntPtr.Zero, (uint)allBytes.Length, WinApi.AllocationType.Commit | WinApi.AllocationType.Reserve, WinApi.MemoryProtection.ExecuteReadWrite);
client.Memory.WriteBytes(stringAdr.ToInt64(), allBytes, (uint)allBytes.Length);
Can you explain me a bit about this?
Well, as you said on the first topic: "I alloc space in memory for my string than I add that into my codeave,"
It is really necessary to alloc the string? What about not alloc it into memory? This part got me confused :s