How to Detect IE Version on Vista and Above
Posted
by Charles Gargent
on Stack Overflow
See other posts from Stack Overflow
or by Charles Gargent
Published on 2010-04-13T10:09:50Z
Indexed on
2010/04/13
10:13 UTC
Read the original article
Hit count: 410
I would like to detect what version IE is running on Vista and above (I am developing on 7). I currently use WMI on XP, but it appears that this is no more. I have searched for an answer and so far I have found the following solutions:
Using System.Windows.Forms
WebBrowser wb = new WebBrowser;
wb.Version;
SELECT path,filename,extension,version FROM CIM_DataFile WHERE path="\\Program Files\\Internet Explorer\\" AND filename="iexplore" AND extension="exe" AND version>"8.0"
And there is probably a way of looking up in the registry.
Is there must a more elegant solution to this?
© Stack Overflow or respective owner