The class & method are public & static, so I can call the method but not override it! The program is already compiled & I have no access to the source code, so I cannot edit it. And I cannot add something to the library. (Just have access to the .NETFramework 4.0)
The program loads up your .cs file(s) and lets you override a method called pulse which is like a main method, the pulse method gets called over and over again during run time. So you can call your own written code with that method.
The method I need intercept/log will get called when a certain condition is met and will then get called over and over again (every few seconds) until the final condition is met. The parameter will not change (from first call until final condition) I just need to find out with what parameter value the method gets called, nothing more :)
How can I save the parameter entry value when the method I want to log/intercept gets called?
Thanks for your answers!