I have the following situation:
Windows Server environment with multiple user sessions.
Windows Service is listening on well known port.
Tray application in each user session which is started automatically.
Silverlight (SL) application is running in browser and communicating with Windows Service using sockets and predefined port.
My goal is the following: user interacts with SL application, SL application communicates to Windows service using sockets and afterward Windows service should communicate to proper tray application which located in the same user session like browser that initiate call.
Communication between Windows service and tray applications is planed to be done using named pipes.
Question: how to define/transfer names of named pipes to Windows service to establish right (windows service -> tray app in correct user session) connection?