在URL上打开Silverlight OOB(如果已安装) [英] Open Silverlight OOB on url, if installed

查看:105
本文介绍了在URL上打开Silverlight OOB(如果已安装)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,当我转到时,是否可以打开我的Silverlight应用程序的OOB版本(如果已安装) http://mydomain.com/silverlightapp < ---加载Xap的位置.

Is there anyway to make the OOB version of my Silverlight app open(if installed) when i go to http://mydomain.com/silverlightapp <--- where the Xap is loaded.

当我转到irc://servername

Just like a irc client opens when i go to irc://servername

但是,如果出现以下情况,我的应用程序可以打开OOB版本而不是前缀: App.Current.InstallState == InstallState.Installed 在浏览器中加载时是什么?.

but instead of prefix can my app open the OOB version if App.Current.InstallState == InstallState.Installed when it's loaded in the browser?.

推荐答案

从Silverlight 4开始,无法从URL启动oob应用程序. Irc和其他应用程序可以注册自定义url协议处理程序从url启动自己.如果您可以创建本机应用程序并将其安装在用户的计算机上,则可以将其用作oob应用程序的启动器.

As of Silverlight 4 there is no way of launching oob application from the url. Irc and other applications can register custom url protocol handler to launch themselves from url. If you can create native application and install it on user's computer you could use it as a launcher for your oob application.

这篇关于在URL上打开Silverlight OOB(如果已安装)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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