Vitalii Ivanov
Vitalii Ivanov

Reputation: 3251

Silverlight support in DotNetBrowser

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

Answers (1)

Eldar Dordzhiev
Eldar Dordzhiev

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

Related Questions