Can you start an outside process with Silverlight?

后端 未结 5 2059
有刺的猬
有刺的猬 2020-12-06 12:34

The System.Diagnostics assembly is part of the Silverlight CLR framework, but it only includes classes related to debugging, the Process class is not available. Is there any

5条回答
  •  感情败类
    2020-12-06 13:19

    If you are using Silverlight inside an ASPX page you could use HtmlDocument.Window.Invoke to call a JavaScript function which could in turn call a static method within your page (using WebMethod attribute)

    The article here describes the JS/ASPX bridge well.

    Kindness,

    Dan

    NB: Not sure I agree with what you are trying to do; just want to help you do it :)

提交回复
热议问题