kishore_peddi
asked on
Difference between "Assembly.Load" & "Assembly.LoadFrom" & "Assembly.LoadFile" in VB.NET / C#
Hi,
Can you please explain me what is the difference between "Assembly.Load" & "Assembly.LoadFrom" & "Assembly.LoadFile" in VB.NET or C# with simple examples ? Need simple explanation for me to understand the basic concept.
Thanks
Can you please explain me what is the difference between "Assembly.Load" & "Assembly.LoadFrom" & "Assembly.LoadFile" in VB.NET or C# with simple examples ? Need simple explanation for me to understand the basic concept.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Assembly.Load(MyAssembly);
Given an assembly file name, load the assembly:
Assembly.LoadFile( "MyAssembly.DLL");
OR
Assembly.LoadFrom("MyAssem
The second form is supported by the compact framework. The later two methods can also take varification that you have permission to access the assembly. See:
ms-help://MS.VSCC.v80/MS.M
Jim