static void spyMgr_OnCreateProcessCall(NktProcess proc, int childPid, int mainThreadId, bool is64BitProcess, bool canHookNow) { NktProcess childProc = spyMgr.ProcessFromPID(childPid); if (childProc != null && childProc.Name.ToLower().EndsWith("iexplore.exe") != false) { spyMgr.LoadAgent(childProc); } }
private NktProcess NktProcessFrom(IRunningProcess aProcess) { return(_manager.ProcessFromPID(aProcess.Id)); }