Jeroen has explained why the versions are the same, but I can see some
reasons you might want to know the exact OS, as there are things you might
take advantage of on a server and not a workstation (and vice versa). The
native calls Jeroen has are a good method. If you know you will have proper
access, there are also keys in the registry you can query. The keys are
under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
There are quite a few useful keys in here, although you will have to figure
out how to best use them. I am not sure wheter the 32 bit, 64 bit question
is easily answered here, but you can definitely get server versus
workstation.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#
or just read it:
http://feeds.feedburner.com/GregoryBeamer
********************************************
| Think outside the box! |
********************************************