Given that you have found a process that you wish to execute a function call to, is it possible to call a function and get a return value from that process. (possibly using reflection or something similar?)
For example, suppose the process I was interested in was always the 1st process returned (I know it won't be), I would like to do something like the following:
Process[] myProcesses = Process.GetProcesses();
int UserID = myProcesses[0].*GetUserID*();
Where GetUserID() is a public static function with that processes assembly.
All the code is managed code