I have a program where I need to display a different link to a different download based on what version of windows a user is running.
Using this answer I am able to detect which version the OS is. Also using this answer I can detect if I am running on a 32 bit or 64 bit version of the OS.
This would suit my needs perfectly, however I came across this page which states that both Windows XP 64-Bit Edition
and Windows Server 2003
use the version number 5.2
.
How do I detect the difference between those two OS's?
As a side note, I do need to send them to a different location if they are on 2003 64 bit or on XP 64 bit, here are the links I am needing to send people to:
- Remote Desktop Connection (Terminal Services Client 6.1) for Windows XP
- Remote Desktop Connection (Terminal Services Client 6.0) for Windows XP x64 Edition
- Remote Desktop Connection (Terminal Services Client 6.0) for Windows Server 2003
- Remote Desktop Connection (Terminal Services Client 6.0) for Windows Server 2003 x64 Edition