What is the best way to detect the OS running on an HTTP client? I know that the browser’s User-Agent may be falsified. So should I use handle of HTTP? And is there any difference between HTTP packets sent from WinXP and Win7? I only need to detect these.
What is the best way to detect the OS running on an HTTP client?
Share
The User Agent String for Windows XP is
Windows NT 5.1orWindows XP.For instance in JavaScript the necessary string is returned with: