Loading Windows Forms App using reflection

D

DaveK

I am developing a Windows Forms App in C# (2005). Rather than install
the app on each client and then have to update each client with new
versions, is it possible for each client to dynamically load the
required exe and dlls at runtime from a server on a LAN (not over the
web)? This would allow me to place the latest version of the exe and
dlls in one place and have no problems with version control.

My knowledge of reflection is poor, but my initial research suggests
that this may be possible using Assembly.LoadFrom, however I can find
no code examples.

If anyone is doing something like this it would be very useful to see
some example code if possible.

Also, are there any drawbacks to this technique e.g. performance, bugs
etc.

thanks in advance for any replies - any help will be greatly
appreciated.

Dave
 

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