I need to show HTML5 pages for WinForm and use component Webbrowser in mode emulation IE10.
When I open any hard page in Webbrowser I see it works slower than IE or other browsers.
For example
Uri uri = new Uri("http://createjs.com/demos/easeljs/Cache.html");
webBrowser.Url = uri;
webBrowser.Navigate(uri);
At http://createjs.com/demos/easeljs/Cache.html page if set "cache enabled" fps in IE10 > 60 but Webbrowser shows only 15 fps
Registry Mode Emulation IE10 for WebBrowser
private static void Emulation() // IE10
{
try
{
string keyName = @"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION";
string valueName = System.AppDomain.CurrentDomain.FriendlyName;
RegistryKey key = Registry.LocalMachine.OpenSubKey(keyName, false);
object FindKey = Registry.GetValue("HKEY_LOCAL_MACHINE\\"+ keyName,System.AppDomain.CurrentDomain.FriendlyName,null);
if (FindKey == null)
{
RegistryKey RegistryKey = Registry.LocalMachine.CreateSubKey(keyName);
RegistryKey.SetValue(System.AppDomain.CurrentDomain.FriendlyName, 10001, RegistryValueKind.DWord);
}
}
catch (Exception Ex)
{
Console.WriteLine("Registry update error: " + Ex.Message);
Console.WriteLine("Can't change browser version.");
}
}
Any advice how to increase performance WebBrowser on WinForm?