I am just using regular C# not ASP.NET. I was wondering if I could get the version for Chrome and Firefox. I know for IE you can get the version through registry. From what I can tell Chrome and Firefox do not store that information in registry.
Thanks in advance.
If you know the full path of an application, then you can use the System.Diagnostics.FileVersionInfo class to get the version number.
Here’s a simple console application that reads the installation paths of Chrome and Firefox from the registry, and outputs their version numbers:
Sample output: