Evidence

  • Thread starter Thread starter poifull
  • Start date Start date
P

poifull

Is my class library is it possible to get the calling assembly's executable
full name, or the Url if it is being linked from an ASP?

Thanks,
Joe

TIA,
poifull
 
poifull said:
Is my class library is it possible to get the calling assembly's
executable full name, or the Url if it is being linked from an ASP?

Check the docs for Assembly.GetExecutingAssembly() which returns an assembly
object and the Location property which gets the location of the loaded file.

Regards,
Will
 
William DePalo said:
Check the docs for Assembly.GetExecutingAssembly() which returns an
assembly object and the Location property which gets the location of the
loaded file.

Regards,
Will

Oops, replace GetExecutingAssembly() with GetCallingAssembly()

Regards,
Will
 

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

Similar Threads


Back
Top