Silverlight 4将受信任的应用程序启动到浏览器中吗? [英] Silverlight 4 launch a trusted application into the browser?

查看:98
本文介绍了Silverlight 4将受信任的应用程序启动到浏览器中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是瘦了5时间找一段答案,我一直没能找到:P

I just lost 5 hours looking for a answer which i haven't been able to find :p

首先,我想强制将受信任的应用程序(我需要访问文件系统)显示在浏览器中.根据我在Google >上找到的内容,必须安装并启动受信任的应用程序作为桌面应用程序(也称为浏览器外应用程序).

First, I'd like to force a trusted application (i need to access the file system) to display into the browser. Based on what i found on google a trusted application must be installed and launched as a desktop application (also called out-of-browser application).

因此,我想在客户端安装一个应用程序,但是与此同时,用户在访问我的网站时也必须能够将同一应用程序启动到浏览器窗口中.这可能吗?

So, i want to have an installed application on the client side but meanwhile, the user must also be able to start this same application into a browser window when he goes on my web site. Is this possible ?

第二,我想给用户提供从浏览器启动应用程序的可能性.需要明确的是,该应用程序已安装在客户端计算机上,但我想在我的网站上单击一个按钮来启动桌面应用程序.我该怎么办?

Second, I'd like to give to the user the possibility to start the application from the browser. To be clear, the application is installed on the client computer but i want a button on my web site which starts the desktop application. How can i do that ?

谢谢

推荐答案

答案是肯定的,不是.

是的,您还可以在浏览器中运行已安装在客户端上的应用程序.但是,并非所有已安装的应用程序功能都可用.任何需要增强信任度的内容都无法在浏览器中正常工作.

Yes you can run an application that has been installed on the client also in the browser. However, not all of the installed application features will be available. Anything that requires elevated trust will not work inside the browser.

否,您无法从浏览器中运行的代码内以编程方式启动已安装的应用程序.您能做的最好的就是向用户显示礼貌的信息,表明他们已经安装了该应用程序,并且要访问其所有功能,需要启动它.

No you can't launch the installed application programmatically from within code running in the browser. The best you can do is display a polite message to the user to the effect that they have this app already installed and in order to access all of its feature they will need to launch it.

这篇关于Silverlight 4将受信任的应用程序启动到浏览器中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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