Beispiel #1
0
        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));
            }
        }
Beispiel #2
0
 public ProcInterceptEvent(int Reason, registers reg)
 {
     this.Reason = Reason;
     this.reg    = reg;
 }