Question:
Is this right?
SM
2007-07-04 09:10:07 UTC
I am running Windows XP home....when I typed this code into C# and ran it:

System.Environment.OSVersion.ToString();

I ended up with the result: Microsoft Windows NT Service Pack 2, is this rigth? Shouldn't it say Windows XP? I am probably wrong...so please correct me
Six answers:
2007-07-04 09:16:43 UTC
XP was built on the supposed "stability and reliability" of NT - its an offspring of the NT family and therefore still Windows NT



So thats fine
ROY L
2007-07-04 09:27:42 UTC
GetVersionEx in my programs comes out with the following for XP



Windows NT Version 5.1, build 2600, Service Pack 2



Windows 2000 says:



Windows NT Version 5.0, build 2195, Service Pack 2



Window XP x64 is:



Windows NT Version 5.2, build 3790, Service Pack 1



Vista Beta was:



Windows NT Version 6.0, build 5384
2007-07-04 09:12:50 UTC
Nope. It's correct. "Service Pack 2" is actually a subversion of the operating system. This is because SP2 was actually a massive internal change for XP!



[edit] Ooops, we're talking about "XP" versus "NT" aren't we? Well, XP is part of the NT family so it's correct!
2007-07-04 09:13:50 UTC
XP is a loosely based version of NT. That's fine.
RaZZ
2007-07-04 09:12:08 UTC
XP is based on NT.
Smartee
2007-07-04 09:12:24 UTC
its right trust me


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...