![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Enumerating client connections on WCF server Is there a way to enumerate connections to a WCF server? I have a scenario where I'd like some code on the server to be able to get a list of all the connected clients, e.g. to display which clients are connected. But more than that, I'd like to be able to add custom state information to connected client channels. I've looked at the IExtensibleObject<T> but it's not clear from the channel extensibility example how this should be used. Any suggestions anyone? Cheers, MikeS. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Enumerating client connections on WCF server Look at http://msdn2.microsoft.com/en-us/lib...endpoints.aspx you can enumerate endpoins with ServiceDescription desc = serviceHost.Description; foreach (ServiceEndpoint endpoint in desc.Endpoints) { // do here something } Arkady "Mike Scott" <someone@microsoft.com> wrote in message news:uc95AmxOHHA.1248@TK2MSFTNGP03.phx.gbl... > Is there a way to enumerate connections to a WCF server? > > I have a scenario where I'd like some code on the server to be able to get > a list of all the connected clients, e.g. to display which clients are > connected. But more than that, I'd like to be able to add custom state > information to connected client channels. > > I've looked at the IExtensibleObject<T> but it's not clear from the > channel extensibility example how this should be used. > > Any suggestions anyone? > > Cheers, > > MikeS. > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How can I check status of Terminal Services connections on remote server? | PowerShell | |||
| Joyfax Server - Client/server-based fax software allows you to sendand receive fax anywhere | Vista print fax & scan | |||
| Vista DNS Server Order for PPP Connections | Vista networking & sharing | |||
| Server Won't Accept Connections on Vista machine | Vista General | |||
| Network Connections, SMTP Server, Mail | Vista networking & sharing | |||