从WinForms应用程序检测IE版本 [英] Detect IE version from a WinForms application

查看:152
本文介绍了从WinForms应用程序检测IE版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能从一个WinForms应用程序的检测IE浏览器安装在计算机上的版本?

Is it possible the detect the version of IE installed on a machine from a WinForms application?

修改1

我在IE9是否安装或没有建立特别感兴趣。多个版本的IE可以被安装,但它是特别IE9导致我应用程序的问题。

I'm specifically interested in establishing if IE9 is installed or not. Multiple IE versions could be installed, but it is IE9 specifically that causes my application a problem.

推荐答案

怎么样;

string ver = (new WebBrowser()).Version.ToString();

这篇关于从WinForms应用程序检测IE版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆