\r
PlatformOSType? thisOs = GetOSType();\r
\r
- // 当分の間、Windows 8 (仮称) は Windows 7 のアプリは使えるようにしておく\r
- if (thisOs.HasValue && thisOs.Value == PlatformOSType.WIN8) {\r
- return (Array.BinarySearch(OsType, PlatformOSType.WIN7) >= 0)\r
- || (Array.BinarySearch(OsType, PlatformOSType.WIN8) >= 0);\r
- }\r
-\r
return thisOs != null && Array.BinarySearch(OsType, (PlatformOSType) thisOs) >= 0;\r
}\r
\r