Determine Win2000 platform.
Keywords: Determine Win 2000 platform OS Operating System
Question:
How can we detect Win2000 platform (using WinVersion()?) and how to detect if it is an Advanced server, server or professional?Answer:
To Detect Win2000 platform use the WinVersion function
- Step 1
Determine basic platform
NT/2000 or 95/98
Use WinVersion(4) for this
- Step 2
Once you determined platform and know that you have a NT/2000 platform use WinVersion(1) to get the code.
Nt 4.0 should be 4 Windows 2000 should be 5
How to detect if it is an Advanced server, server or professional?
Not 100% sure, but I am very sure it will be something like....
Article ID: W14459Filename: Determine Win2000 platform.txt