Note: Advice in this article will only work for DotNetBrowser 1.
See the corresponding article for DotNetBrowser 2 here.

If you have to use Silverlight, we recommend that you stick to DotNetBrowser versions up to 1.7 (excluded)..

DotNetBrowser up to 1.7 supports Microsoft Silverlight and can be used to display web pages with Silverlight content. To display Silverlight content you must download and install  Silverlight plugin.

Direct link:

It is necessary to install 32-bit version of the plugin. DotNetBrowser uses 32-bit Chromium engine, even if it is running in a 64-bit application. Therefore, Silverlight plugin must be also 32-bit.

By default Silverlight plugin is configured to be embedded into a native heavyweight container. DotNetBrowser can work in both lightweight and heavyweight modes. So, to display Silverlight content in the lightweight rendering mode, DotNetBrowser configures Silverlight plugin to use windowless mode. In this mode we don't need to provide native heavyweight container to display Silverlight content. Chromium renders content off-screen, like any other web page, and DotNetBrowser displays rendered graphics using standard Java Graphics 2D API.

If Silverlight works differently in DotNetBrowser compared to Google Chrome, then please make sure that it supports windowless mode.

Note: Microsoft Silverlight is an NPAPI plugin, and NPAPI support is disabled by default in the recent versions of Chromium:
You can enable NPAPI by passing a "--enable-npapi" 
Chromium switch.



<Window x:Class="WPF.SilverlightSample.MainWindow"
        Title="MainWindow" Height="350" Width="525" >
    <Grid Name="mainLayout">


using System;
using System.Windows;
using DotNetBrowser;
using DotNetBrowser.WPF;

namespace WPF.SilverlightSample
    public partial class MainWindow : Window
        Browser browser;
        WPFBrowserView browserView;

        public MainWindow()
            // Initialize WPF Application UI.

            // Create WPF BrowserView component.
            browser = BrowserFactory.Create();
            browserView = new WPFBrowserView(browser);
            // Embed BrowserView component into main layout.
            // Load URL into BrowserView.