Reputation: 26565
How do I programmatically determine the version of multiple web browsers (Chrome, IE, and Firefox) on the same machine with c++?
Upvotes: 3
Views: 996
Reputation: 4587
To detect installed browsers, you should read http://rhizohm.net/irhetoric/post/2009/04/03/0a-Finding-All-Installed-Browsers-in-Windows-XP-and-Vista-ndash3b-beware-64bit!0a-.aspx. To get their versions, simply follow the code in How to get Version of the software?. Hope this helps! :)
Upvotes: 0
Reputation: 4703
Where those 3 different browsers store their version information may all be different. You would have to track down those locations and read them with you application. Since you are doing this on a windows machine you may be in luck, they may all use the registry.
This might help.
Upvotes: 2