Get Applicationname from an Assembly

  • Thread starter Thread starter Andreas Möller
  • Start date Start date
A

Andreas Möller

Hello NG,

i have a problem. I have to get applicationname out of an assembly, which
start and use the assembly.

System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;

give me only the full name of assembly but not full name of application.

Can anybody help me?

Greetings

Andreas Möller
 
Try System.Reflection.Assembly.GetCallingAssembly().GetName()

--Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top