Remote channel name

  • Thread starter Thread starter Tamir Khason
  • Start date Start date
T

Tamir Khason

I have a program wich dynamicly register tcp remote channels and of couse I
have "the same channel name" problem
I can not change config file and TCPCannel.ChannelName is readonly (unable
to set ""). How to set ChannelName to "" without regestring of hashtables.

tnx
 
Tamir,

The hashtable is the only way you are going to be able to do it. The
reason for this is that the ChannelName property on the IChannel interface
is read-only. If you don't fo that, the only other option you have is to
write out an XML configuration file and then call the static Configure
method on the RemotingConfiguration class.

Hope this helps.
 
Back
Top