可能重複:
Determine if O/S is Windows 7…
How to tell if the OS is Windows XP or higher?Windows版本
嗨
如何找到用戶是Windows XP或Vista或Windows 7?
問候
可能重複:
Determine if O/S is Windows 7…
How to tell if the OS is Windows XP or higher?Windows版本
嗨
如何找到用戶是Windows XP或Vista或Windows 7?
問候
你想看看Environment.OSVersion
,物業。
參見Environment.OSVersion; http://msdn.microsoft.com/en-us/library/system.environment.osversion%28VS.80%29.aspx
請參閱:http://stackoverflow.com/questions/2732432/how-to-tell-if-the-os-is-windows-xp-or-higher – tanascius 2010-10-01 09:17:24