Starting version 3.0, Silverlight offers a local connection API that can be used to communicatie between Silverlight applications running on the same machine.
I would like to use this mechanism from a full blown .NET application; a .NET receiver with a Silverlight Sender. Unfortunately I can't find any "official" way of doing so. One thing that should be possible is embedding a WebBrowser component into my (WPF) application, which in turn hosts some Silverlight and tie the two together with some scripting, but that sounds extremely messy...
Is there a better way of doing this?
Edit:
Using sockets instead of the local connection API is not really an option, because I only want to communicate to applications in my current Windows session (in case of multiple RDP/Citrix users). Local connections seem to achieve this. Doing the same with sockets would require me to do some port negotiation or figure out which session I'm running in from Silverlight and I have no way of doing so.