如何在Silverlight OOB应用程序和WPF winForms之间进行通信. [英] How to communicate between a silverlight OOB application and a WPF winForms.

查看:97
本文介绍了如何在Silverlight OOB应用程序和WPF winForms之间进行通信.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在使用silverlight4.0.要求是在运行于具有较高特权的浏览器之外的silverlight4.0应用程序与在同一系统上运行的WindowsForm应用程序之间进行通信.
例如如果我在以浏览器模式运行的Silverlight应用程序的文本框中编写"welcome to silverlight",则应在同一系统上运行的单独winform应用程序(可能是wpf应用程序)的文本框中显示相同的文本消息.

Hi All,
I am using silverlight4.0. The requirement is to communicate between a silverlight4.0 application which is running out of browser with elevated previlages and a WindowsForm application running on the same system.
e.g. If I write ''welcome to silverlight'' in a textbox of a silverlight appliction which is running in outofbrowser mode, then same text message should be displayed inside the textbox of a separate winform application(may be wpf app)running on same system.

推荐答案

您需要设置两者之间的通信.

由于两者都在同一系统上运行,请尝试套接字通信.
You need to setup communication between the two.

Since both are running on the same system, try socket communication.


这篇关于如何在Silverlight OOB应用程序和WPF winForms之间进行通信.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆