How can I get the Operating System build number (Windows, Mac etc) from within a browser?
Can use Flash or Java if have to? or something else?
How can I get the Operating System build number (Windows, Mac etc) from within a browser?
Can use Flash or Java if have to? or something else?
Here's a good site that will give you all you need to know, http://msdn.microsoft.com/en-us/library/ms537503(v=VS.85).aspx
javascript:alert(navigator.userAgent)
As a quick answer you can get all this information from the headers of a page when it is loaded over http. You can echo out the headers easily in PHP (or something similar) and they will say I AM WINDOWS - RELEASE X - BROWSER-AGENT I.E9 etc... I think jquery can tell you what os and browser is being used easily as well.
No, you can't get reliably get the operating system build number. Sites like Panopticlick will show you what values can be got (with some effort).
One exception to this is the built in phone browsers:
since there is a single release build for these and you can reliably detect the version number you can assume a build number.
You can guess the build numbers for other browsers based on the OS version number, but you can't definitely prove it.