Checkout the ChannelServices.RegisteredChannels method. It will return an
array of IChannel objects. You can then test to see if each object is of
the HttpChannel or TcpChannel type (or any other class the implements the
IChannel interface). You can then invoke members of each class to extract
the information you need.
Thanks,
Sam
--
_______________________________
Sam Santiago
ssantiago (AT) n0spam-SoftiTechture (DOT) com
http://www.SoftiTechture.com
_______________________________
"AceBear" <vast_m_bear (AT) yahoo (DOT) com> wrote
Quote:
I want to get some information about the Channels that
were registered as the result of calling
RemotingConfiguration.Configure(...).
ChannelServices.RegisteredChannels returns an IChannel
[], but an IChannel doesn't seem to contain as much
information as I would like.
I want to know is the hannel using http or tcp, if it's
a tcp channel which port does it use ....
Any suggestions?
Thanks |