开发者

Native Integration in Silverlight 4

a question concerning the new concept of Trusted Applications in Silverlight 4:

I gather that trusted applications run outside the browser with elevated trust. Will it therefore be possible to 开发者_如何学编程call arbitrary functions in unmanaged DLLs (by means of DllImport) from a trusted application or is this feature still reserved to proper desktop applications?

Thank you very much in advance and kind regards,

Marc Frei


Unfortunately, Silverlight 4 does not allow calling unmanaged code via P/Invoke. You can only call native code using the COM via the AutomationFactory class. However, calling native code was added to Silverlight 5.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜