Ejemplo n.º 1
0
        public InjectorProcess(Process process, InjectorInterface captureInterface)
        {
            string ChannelName = null;

            RemoteHooking.IpcCreateServer <InjectorInterface>(
                ref ChannelName,
                WellKnownObjectMode.Singleton,
                captureInterface);

            RemoteHooking.Inject(
                process.Id,
                InjectionOptions.Default,
                typeof(InjectorInterface).Assembly.Location,
                typeof(InjectorInterface).Assembly.Location,
                ChannelName
                );
        }
Ejemplo n.º 2
0
 public InjectorEntryPoint(EasyHook.RemoteHooking.IContext context, String channelName)
 {
     Interface = EasyHook.RemoteHooking.IpcConnectClient <InjectorInterface>(channelName);
     Interface.Ping();
 }