Assembly instance

J

Jeffrey

hello,

how can i create a instance of an assembly which is already in the
memory and not in use with the own process.

for the own process i can use
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())

but i want also the instances of assemblies of other processes.

jeff
 
J

Jeffrey

sorry for this second thread, there was a great delay and i was
thinking the thread from 0014h will not be displayed.

jeff
 
W

Willy Denoyette [MVP]

Jeffrey said:
hello,

how can i create a instance of an assembly which is already in the
memory and not in use with the own process.

for the own process i can use
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())

but i want also the instances of assemblies of other processes.

jeff

You can't "create" instances of assemblies, you can only load assemblies or
implicitely or explicitely.
Implicit assembly loading is done whenver you create an instance of a type
or when you call a method on a type, explicit assembly loading is done by
calling Assembly.Load, LoadFrom etc...

Willy.
 

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

Top