Assembly instance

  • Thread starter Thread starter Jeffrey
  • Start date Start date
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
 
sorry for this second thread, there was a great delay and i was
thinking the thread from 0014h will not be displayed.

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