blob: fea6b0559dff3c02f7f5d7fad037bab84cba90d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
namespace System
{
static partial class PlatformDetection
{
public static readonly bool IsNetNative = false;
public static readonly bool IsNotWinRT = true;
public static readonly bool IsWinRT = false;
public static readonly bool IsWindowsNanoServer = false;
public static bool IsWindows7 => false;
public static bool IsFullFramework => true;
public static bool IsNonZeroLowerBoundArraySupported => true;
public static bool IsUap => false;
//TODO: check?
public static bool IsNotWindowsSubsystemForLinux => true;
public static bool IsWindowsSubsystemForLinux => false;
public static bool IsFedora => false;
public static bool IsWindows {
get {
PlatformID id = Environment.OSVersion.Platform;
return id == PlatformID.Win32Windows || id == PlatformID.Win32NT;
}
}
public static bool IsInAppContainer => false;
}
}
|