Пример #1
0
        private void btnCheckEmbeddedBrowser_Click(object sender, EventArgs e)
        {
            int ieVersion   = WebBrowserHelper.GetInstalledIEVersion(webBrowser);
            int version     = WebBrowserHelper.GetBrowserVersion();
            int regKeyValue = WebBrowserHelper.GetEmbVersion();

            MessageBox.Show(this, string.Format("Installed IE Version: {0}\nBrowser Version: {1}\nRequired Registry Value: {2}", ieVersion, version, regKeyValue), "Check Browser", MessageBoxButtons.OK);
        }