Depends on how you interpret "loaded".
If some pgm reads assembly as binary file and does something with its
content - is it loaded or just read? See reflector or anakrino. There
couldn't be any in-assembly event except in-OS, like windows hook which
intercepts file reads. Of course, if you are thinking Windows.
Otherwise, as soon as code starts to run in your assembly it is "loaded and
executed"
HTH
Alex
"Jeff Lar" <Jeff
(E-Mail Removed)> wrote in message
news:9646875D-D77A-4B27-92D3-(E-Mail Removed)...
> I'm writing a class library that will be consumed by other applications,
both
> web and form, and may also be loaded dynamically. I need the assembly to
> perform some validation immediately after it is loaded, and possibly shut
> itself down. I cannot find an event or mechanism to detect when my
assembly
> is loaded. Any suggestions?