3 static partial class PlatformDetection
5 public static readonly bool IsNetNative
= false;
6 public static readonly bool IsNotWinRT
= true;
7 public static readonly bool IsWinRT
= false;
8 public static readonly bool IsWindowsNanoServer
= false;
10 public static bool IsWindows7
=> false;
11 public static bool IsFullFramework
=> true;
12 public static bool IsNonZeroLowerBoundArraySupported
=> true;
13 public static bool IsUap
=> false;
16 public static bool IsNotWindowsSubsystemForLinux
=> true;
17 public static bool IsWindowsSubsystemForLinux
=> false;
18 public static bool IsFedora
=> false;
20 public static bool IsWindows
{
22 PlatformID id
= Environment
.OSVersion
.Platform
;
23 return id
== PlatformID
.Win32Windows
|| id
== PlatformID
.Win32NT
;
26 public static bool IsInAppContainer
=> false;