Can I run the client application from Silverlight?

I have a simple corporate portal that allows users to run their applications from a browser. Hypersurface URLs are passed (using Javascript) to a signed applet to run client-side applications. All clients are XP or Vista, and they all run IE6 or IE7.

I watched Silverlight recently and I'm wondering if I can do something like this. Ideally, I would like to do everything from Silverlight and get rid of the applet.

Can I invoke client-side applications from Silverlight? Can I sign a Silverlight application to give it additional rights?

+3
source share
2 answers

You can call javascript from silverlight in the same way you use javascript with links.

For example, to call somefunctionwith parameter

HtmlPage.Window.CreateInstance("somefunction", new string[] { "parameter1" });

There is a good video about Html browser integration here

+1
source

You should review this now when Silverlight 4 is missing. You can see how to run exe from HERE.

0
source

Source: https://habr.com/ru/post/1708634/


All Articles