internal void RaiseProcInterceptEvent(string IPAddr, int Reason, IntPtr Registers) { if (IPAddr.Equals(Target.Info.IPAddr)) { registers reg = (registers)Marshal.PtrToStructure(Registers, typeof(registers)); ProcIntercept?.Invoke(null, new ProcInterceptEvent(Reason, reg)); } }
public ProcInterceptEvent(int Reason, registers reg) { this.Reason = Reason; this.reg = reg; }