How to enable Adobe Flash with CefSharp?

Ivan-Mark Debono picture Ivan-Mark Debono · Oct 6, 2015 · Viewed 13.1k times · Source

I'm using the latest Version of CefSharp and I need to Display Flash. When using Chrome, the page gets displayed correctly. However when using CefSharp it does not.

So far I tried:

        var browser = new ChromiumWebBrowser(URL)
        {
            BrowserSettings = new BrowserSettings() {
                Java = CefState.Enabled,
                Plugins = CefState.Enabled,
            },
            Dock = DockStyle.Fill
        };

When I load about:plugins I get:

CEF 3.2357.1287.g861c26e

Chromium 43.0.2357.130

OS Windows

WebKit 537.36

JavaScript 4.3.61.30

Flash

User Agent Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

How can I enable Flash in CefSharp?