Reputation: 3251
I tried to open website with Silverlight using DotNetBrowser and received alert that I need to install Silverlight. However, on DotNetBrowser website Silverlight is mentioned as supported. I can open the same website in Internet Explorer without issues.
Please advice
Upvotes: 2
Views: 157
Reputation: 5135
The recent versions of Chromium have NPAPI disabled. Silverlight is an NPAPI plugin, so in order to use it in DotNetBrowser, you need to enable NPAPI first.
Add the code below to the constructor of the window:
BrowserPreferences.SetChromiumSwitches("--enable-npapi");
Upvotes: 2