Hi,
It depends of the use you want, in LoadFrom you set the location of the
file , this should be faster than Load() which has to look in several
locations , also in the latter you search by assembly name where in LoadFrom
you look by filename.
I would recommend to use Load(0 if that suits you.
Regarding speed LoadFrom() may be faster, it does not have to search on
several locations.
Cheers,

Signature
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
> Hi,
> Which method is recommended (load or loadfrom) for loading
> assemblies, both in terms of performance and versioning of assmeblies?
>
> Thanks
> Karen
Junfeng Zhang[MSFT] - 12 Aug 2004 23:38 GMT
Did you try it when you make the performance claim?
LoadFrom() is always slower than Load(), in v1.0 and v1.1, due the the
second Load() after LoadFrom().
http://blogs.msdn.com/suzcook/archive/2003/09/16/57247.aspx

Signature
Junfeng Zhang
http://blogs.msdn.com/junfeng
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
> Hi,
>
[quoted text clipped - 16 lines]
> > Thanks
> > Karen
Ignacio Machin \( .NET/ C# MVP \) - 13 Aug 2004 14:51 GMT
Hi ,
No I did not , in fact I have never had the need to load an assembly, it
was just a kind of "logic" assumption, LoadFrom may has to look in several
places , whether LoadFrom knows exactly where the assembly is located, so I
thought it should be faster.
As you pointed out I was wrong :)
My fault for giving an opinion lightly :)
Cheers,

Signature
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
> Did you try it when you make the performance claim?
>
[quoted text clipped - 23 lines]
> > > Thanks
> > > Karen
If you read Suzanne's blog http://blogs.msdn.com/suzcook, you will know she
always recommend Assembly.Load().

Signature
Junfeng Zhang
http://blogs.msdn.com/junfeng
This posting is provided "AS IS" with no warranties, and confers no rights.
> Hi,
> Which method is recommended (load or loadfrom) for loading
> assemblies, both in terms of performance and versioning of assmeblies?
>
> Thanks
> Karen