![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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. |
| | #2 (permalink) |
| Guest | 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. > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joyfax Server - Client/server-based fax software allows you to sendand receive fax anywhere | joyGfax | Vista print fax & scan | 0 | 07-14-2008 10:34 PM |
| Vista DNS Server Order for PPP Connections | David L. Crow | Vista networking & sharing | 4 | 06-06-2008 12:51 PM |
| Local proxy server refusing connections, Vista 32bit | mholt | Network & Internet | 1 | 01-23-2008 12:00 AM |
| Server Won't Accept Connections on Vista machine | Bob | Vista General | 4 | 05-02-2007 02:01 AM |
| Network Connections, SMTP Server, Mail | =?Utf-8?B?c2Vtb2xpbmE=?= | Vista networking & sharing | 0 | 08-25-2006 10:16 PM |