getting parent assembly through reflection recursively - help requ

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

Can we get name of parent assembly in a called component recursively ?
i know Assembly.GetCallingAssembly() will return one level above. I need to
check the parent of parent also. is it possible.

can anyone help me.
thanks
niranjan
 
Can we get name of parent assembly in a called component recursively ?
i know Assembly.GetCallingAssembly() will return one level above. I need to
check the parent of parent also. is it possible.

Try using the StackTrace class.



Mattias
 
Thanks for the reply.

I am able to track the call in case of component to component call.
Now i have another similar issue. I have a serviced component deployed as
server application. I have a console application calling the server package
component. in this case, from the server package component, i am not getting
the name of the application which invoked the component. is this possible
some how.

thanks
niranjan
 
hi,

i am not getting the full stack for cross package calls. ie when i call
component B from component A & when both are in different COM+ package, then
i am not getting the originial caller.
can we get this by some means in .net

thanks
niranjan
 
Back
Top