예제 #1
0
 /// <summary>
 /// Spawned within the client (hooked process)
 /// </summary>
 /// <param name="context"></param>
 /// <param name="channelName"></param>
 public EasyHookEntryPoint(RemoteHooking.IContext context, string channelName, BridgeEventType enabledHooks, int processId)
 {
     // Retrieve a reference to our interface
     this.hookInterface = RemoteHooking.IpcConnectClient <HookInterface>(channelName);
     // Validate connection
     this.hookInterface.Ping();
     this.enabledHooks = enabledHooks;
     this.ProcessID    = processId;
 }
예제 #2
0
 /// <summary>
 /// Spawned within the client (hooked process)
 /// </summary>
 /// <param name="context"></param>
 /// <param name="channelName"></param>
 public EasyHookEntryPoint(RemoteHooking.IContext context, string channelName, BridgeEventType enabledHooks, int processId)
 {
     // Retrieve a reference to our interface
     this.hookInterface = RemoteHooking.IpcConnectClient<HookInterface>(channelName);
     // Validate connection
     this.hookInterface.Ping();
     this.enabledHooks = enabledHooks;
     this.ProcessID = processId;
 }