???? ID: 304283 - ????? ???????: 04 ?????? 2010 - ??????: 2.0 ????? C# ?? ????? ?? Windows ?? ??????? ?? ???????? ???? ????
?? ????? ?????????? ??? ?? ??? ???? ????????? ???? ?? ?? ??? ?? ???????? ?????? ?? ????? ??? ?? ?????? ?? ???? ???? ????????? ?? ??? ?? ?? ???????? ???? ????? ?? ???? Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows 98 ????? ???????, Microsoft Windows Millennium ??????? (Windows Me), Microsoft Windows NT 3.51, Microsoft Windows NT 4.0, Microsoft Windows 2000 ?? Microsoft Windows XP ?? ??? differentiates ??? ??????????
Windows ??????? ???? ??????? ?????????? ?? ?? ??? ???????? ?????? ?? ????????? ????, ????? ???? ??????? ????:+--------------------------------------------------------------+ | |Windows|Windows|Windows|Windows NT|Windows|Windows| | | 95 | 98 | Me | 4.0 | 2000 | XP | +--------------------------------------------------------------+ |PlatformID | 1 | 1 | 1 | 2 | 2 | 2 | +--------------------------------------------------------------+ |Major | | | | | | | | version | 4 | 4 | 4 | 4 | 5 | 5 | +--------------------------------------------------------------+ |Minor | | | | | | | | version | 0 | 10 | 90 | 0 | 0 | 1 | +--------------------------------------------------------------+ Obtain the Operating System InformationThe??????namespace contains a class namedOperatingSystem. The properties for theOperatingSystemclass provide the necessary information about the operating system that is in use. TheOSVersion?? ???System.Environmentclass returns anOperatingSystem???????? ?????????????? ????????? ???????? ??? ?? ??????? ????????? ???OperatingSystem????? ??? ?? ?? ?????????? ????????? ???? ?? ??? ??????? ??? ?? ????? ?? ???? ???PlatformID?? ???OperatingSystem????? ??? ?? ?? ?????????? ????????? ???? ?? ??? ?????For example, the enumerated value of theWin32Windows??? ????? ???????? ???????? ??? ?? ?? ?? ????? ???? ??:
?? ????????? ??????? ??????? ?? Windows 95, Windows 98, Windows 98 ????? ???????, ?? Windows Me??? ?? ?? ????????? ?? ?? Windows 95, Windows 98, Windows 98 ????? ??????? ?? Windows Me ?????????? ??, ?? ?? ?? ???? ??? ???????? ??????? ??????? ?? ???????? ???? ?? ??? ??? ?? ???? ????????Windows NT, Windows 2000 ?? Windows XP ?? ??????? ??????? ?? ??????????? ?? ?? ????????? ?? ?? Windows NT 3.51, Windows NT 4.0, Windows 2000 ?? Windows XP ?????????? ??, ?? ?? ?? ???? ??? ???????? ??????? ??????? ?? ???????? ???? ?? ??? ??? ?? ???? ????????????? ?????????? ????? ?? ??????? ???????? ?? ?? ?? ??????????? ????????? ???? ?? ?? ?????:
???? ???? ???? ??:
???? ?????? ??????????????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:304283
(http://support.microsoft.com/kb/304283/en-us/
)
| ???? ?????? ???? ?????? ??????
????????? ?????? ??????? ???????? ??????
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

????? ?? ???? ????
