Windows 9X
Windows 9X
Posted Feb 16, 2022 18:36 UTC (Wed) by stephen.pollei (subscriber, #125364)In reply to: Mozilla on the coming version-100 apocalypse by unilynx
Parent article: Mozilla on the coming version-100 apocalypse
From what I heard it depended on what API the program used. You are correct that there were APIs that gave an internal version number that was pretty sane. There was also an API call that gave what was suppose to be human readable. Allegedly, there was a lot of code in the wild that did : if(version.StartsWith("Windows 9")) { /* 95 and 98 */ } else {} . OperatingSystem.VersionString Property versus GetVersionEx()