Community discussion forum

Finding the initiating assembly name in a referenced library.

  • 7 months ago
    My project solution is as follows ConsoleApp1 --> Library1 --> Library2 ConsoleApp2 --> Library1 --> Library2 --> implies references How can I find in Library2 as to which application initiated the method call (ConsoleApp1 or ConsoleApp2)? I am trying to find the calling assembly name using the System.Reflection namespace. But using this I am able to get the name of the assembly which is only one level higher that the executing assembly. How can I scale one more level higher and find the calling assembly's calling assembly name? Thanks & regards
    Post was edited on 16/04/2009 11:26:39 Report abuse

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback