Пример #1
0
        public bool Execute <T>(ProcessMemory mem, T param) where T : struct
        {
            bool ret = false;

            using (RemoteAllocation ralloc = RemoteAllocation.CreateNew <T>(mem, param))
            {
                ret = Execute(ralloc.Address);
            }
            return(ret);
        }
Пример #2
0
 public RemoteAllocation Allocate <T>(T data) where T : struct
 {
     return(RemoteAllocation.CreateNew <T>(this, data));
 }