2

I have a C# application compiled with visual studio. I want to intercept and log calls and serialized method parameters to some specific methods in that app. Is it possible to intercept method calls in another process (maybe by using App domains?).

In other words, I want to achieve similar goal in .NET as madCodeHook and Detours does for win32.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Davita
  • 8,928
  • 14
  • 67
  • 119

1 Answers1

1

For multiprocessor programming it's easier using MPI (Message Passing Interface).

Try to look into this page.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Alexander Molodih
  • 1,928
  • 2
  • 20
  • 30
  • Sorry but looks like you didn't understand my question. What does multiprocessor programming has to do with API/method hooking? – Davita Jul 31 '11 at 21:43
  • From that you should start. It can be done only with unmanaged code and refers to hacking section. You need to analize program, and extract function address in memory (than you can call this function). About hacking you can read in special sites. It is significant that your program in this case must be executed with the ring 0 (access privileges). My ansver is useful? – Alexander Molodih Aug 02 '11 at 08:00