![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); |
#3
| |||
| |||
|
|
Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
#4
| |||
| |||
|
|
Thanks Eddie. but I use .NET Framework 1.1.4 Your solution is in .NET Framework 2.0 Is there any solution for the version that I use? "Eddie" <edob@home> wrote in message news:eillA1OgGHA.4940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
#5
| |||
| |||
|
|
Environment.OSVersion is manage also by Framework 1.1 "Hamed" wrote: Thanks Eddie. but I use .NET Framework 1.1.4 Your solution is in .NET Framework 2.0 Is there any solution for the version that I use? "Eddie" <edob@home> wrote in message news:eillA1OgGHA.4940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
#6
| |||
| |||
|
|
Yes, but returnes "Microsoft Windows NT 5.1.2600.0" both SP1 and SP2 of XP "sebastieng" <sebastieng73___PLEASEDELETE__ (AT) wanadoo (DOT) fr> wrote in message news:9CAF14F0-36B9-492A-886C-1EB7A4AEC503 (AT) microsoft (DOT) com... Environment.OSVersion is manage also by Framework 1.1 "Hamed" wrote: Thanks Eddie. but I use .NET Framework 1.1.4 Your solution is in .NET Framework 2.0 Is there any solution for the version that I use? "Eddie" <edob@home> wrote in message news:eillA1OgGHA.4940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
#7
| |||
| |||
|
|
K, sorry Might compare version of %system path%\winver.exe file. I have no system under SP1 under the hand to check if it's changing from one SP to another... "Hamed" wrote: Yes, but returnes "Microsoft Windows NT 5.1.2600.0" both SP1 and SP2 of XP "sebastieng" <sebastieng73___PLEASEDELETE__ (AT) wanadoo (DOT) fr> wrote in message news:9CAF14F0-36B9-492A-886C-1EB7A4AEC503 (AT) microsoft (DOT) com... Environment.OSVersion is manage also by Framework 1.1 "Hamed" wrote: Thanks Eddie. but I use .NET Framework 1.1.4 Your solution is in .NET Framework 2.0 Is there any solution for the version that I use? "Eddie" <edob@home> wrote in message news:eillA1OgGHA.4940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
#8
| |||
| |||
|
|
This should do it: http://support.microsoft.com/default...b;EN-US;304721 Best Regards, Andrei Pociu http://www.geekpedia.com "sebastieng" <sebastieng73___PLEASEDELETE__ (AT) wanadoo (DOT) fr> wrote in message news:84D29ACB-888A-495B-88DA-BE428A80C4F1 (AT) microsoft (DOT) com... K, sorry Might compare version of %system path%\winver.exe file. I have no system under SP1 under the hand to check if it's changing from one SP to another... "Hamed" wrote: Yes, but returnes "Microsoft Windows NT 5.1.2600.0" both SP1 and SP2 of XP "sebastieng" <sebastieng73___PLEASEDELETE__ (AT) wanadoo (DOT) fr> wrote in message news:9CAF14F0-36B9-492A-886C-1EB7A4AEC503 (AT) microsoft (DOT) com... Environment.OSVersion is manage also by Framework 1.1 "Hamed" wrote: Thanks Eddie. but I use .NET Framework 1.1.4 Your solution is in .NET Framework 2.0 Is there any solution for the version that I use? "Eddie" <edob@home> wrote in message news:eillA1OgGHA.4940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hamed wrote: Hello How can I check what is the Windows version and if it is Windows XP, is SP2 of Windows XP installed? Regards Hamed Environment.OSVersion.ToString(); returned Microsoft Windows NT 5.1.2600 Service Pack 2 HTH Eddie |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |