简体   繁体   中英

Google Chrome Frame in C#?

How can I use Google Chrome Frame in .NET's WebBrowser control? I know I have to have:

<meta http-equiv="X-UA-Compatible" content="chrome=1">

In the beginning of the page that I'm loading, but how to do this?

Hi it's true what @ErickPetru said, but there are some other options especially with the ChromiumEmbeddedFramework. There are 2 projects targeting the .net framework. I've used CefSharp before and cefglue is new. Have a look at those for embedding a chromelike browser in a .net application.

cefglue

CefSharp

Google Chrome Frame is an Internet Explorer plugin , so WebBrowser Control isn't supported (since the control itself doens't support plugins).

At this official thread is being suggested an alternative approach using Chrome Frame ActiveX itself inside your application, but I never tried it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM