示例#1
0
        public static void InjectIntoProcess(IntPtr windowHandle, InjectorData injectorData)
        {
            var processFromHandle = ProcessWrapper.FromWindowHandle(windowHandle);

            if (processFromHandle is null)
            {
                return; // todo: add logging
            }

            InjectIntoProcess(processFromHandle, injectorData);
        }
 public static void InjectIntoProcess(IntPtr windowHandle, InjectorData injectorData)
 {
     InjectIntoProcess(ProcessWrapper.FromWindowHandle(windowHandle), injectorData);
 }