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
 
Back
Top