June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to run an assembly from a server on your local network or the Internet.
Use the Assembly.LoadFrom method with a Uniform Resource Identifier (URI) that points to the remote assembly.
The Assembly.LoadFrom method accepts an ordinary file path, a network universal naming convention (UNC) path, or a URL Web path. LoadFrom is sometimes used with highly dynamic applications that load components from the Web.
Here’s a basic example that loads an assembly using a URI:
Dim Asm As System.Reflection.Assembly Dim AsmPath As String = "http://myserver/mydir/myassembly.dll" Asm = System.Reflection.Assembly.LoadFrom(AsmPath)
If you call LoadFrom and supply a path to a remote assembly, that assembly ...
Read now
Unlock full access