public IntPtr AllocateMemory(string processName, int size)
 {
     using (var methodWrapper = new MethodWrapper(processName))
     {
         return(methodWrapper.AllocateMemory(size));
     }
 }
 public IntPtr AllocateMemory(int processId, int size)
 {
     using (var methodWrapper = new MethodWrapper(processId))
     {
         return(methodWrapper.AllocateMemory(size));
     }
 }