Home All Groups Group Topic Archive Search About

Knowing when my assembly is loaded

Author
14 Dec 2006 9:56 PM
GoogleNewsReaderMan
Is there a way for me to know from within a given assembly when it gets
loaded? If so, how can this be done?

Thanks in advance!

Author
14 Dec 2006 10:20 PM
nick.fletcher
I dont know about getting tthe loaded assembly to report when it gets
loaded but the appdomain class has an assemblyloaded event which fires
whenever a new assembly is loaded - if thats any help

see:ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/E_System_AppDomain_AssemblyLoad.htm

in the visual studio help

Nick

Show quoteHide quote
On Dec 15, 8:56 am, "GoogleNewsReaderMan" <lorne_into***@hotmail.com>
wrote:
> Is there a way for me to know from within a given assembly when it gets
> loaded? If so, how can this be done?
>
> Thanks in advance!

Bookmark and Share