Getting channel informations - 12-23-2004 , 10:47 AM
I want to get some information about the Channels that
were registered as the result of calling
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 ....
Re: Getting channel informations - 12-23-2004 , 04:22 PM
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.
ssantiago (AT) n0spam-SoftiTechture (DOT) com
"AceBear" <vast_m_bear (AT) yahoo (DOT) com> wrote
|Thread Tools||Search this Thread|