Can remoting configuration be re-configured?

661 Views Asked by At

I am working on a desktop application which uses .net remoting. During the start up the remoting layer is configured based on the app.config. I have a requirement of re-configuring the remoting layer at run-time so that I can connect to a different remoting server.

In fact, I could just modify the config file and restart the application, but unfortunately I must verify whether the remoting server exists, and this is not feasible with this approach. I hope I have stated the problem clearly, and would appreciate any help you could provide!

1

There are 1 best solutions below

4
On

All remoting-configurations can be done programmatically without using any config file. Maybe, you should go that way.