问题
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.
Just like a irc client opens when i go to irc://servername
but instead of prefix can my app open the OOB version if App.Current.InstallState == InstallState.Installed when it's loaded in the browser?.
回答1:
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.
来源:https://stackoverflow.com/questions/3978910/open-silverlight-oob-on-url-if-installed