I'm not sure how to come across to ask this, but I'm trying to figure out if there is possibly a way by which I can access a running process written purely in .Net and interact with its memory space and active objects.
I do Add-in development for 2 point-of-sale packages, and am trying to figure this out for analysis of data entry in an external window. Any information or insight would be appreciated.
to put a different spin on what I'm asking... basically, is there a way of maybe using the system.diagnostics.processmodule and grab a running process with a particular name, and then instantiate that as an application, and then dig into it to find a particular static object, and work with it?
---- Additional ----
I noticed someone mentioned about reflection... this indeed may be what I am trying to ask... The only thing that I need is to maybe "Reflect" a process, find a particular static class, and then cast that class to an "object", so I could access its properties... maybe this makes more sense.
Unfortunately, the program I'm trying to work with is not going to have any form of Plug-in architecture for some time, and thought that I could do it using some sort of crazy P/Invoke or reflection idea.