OperatingSystemPlatform

References
public sealed class OperatingSystemPlatform
Operating system platform information
Remarks: Access this information from EtoEnvironment.Platform

Properties

IsLinux

#
public bool IsLinux { get; }
Gets a value indicating that the current OS is a Linux system

IsMac

#
public bool IsMac { get; }
Gets a value indicating that the current OS is a Mac OS X system

IsMono

#
public bool IsMono { get; }
Gets a value indicating that the current .NET runtime is mono

IsNetCore

#
public bool IsNetCore { get; }
Gets a value indicating that the current .NET runtime is .NET Core

IsNetFramework

#Since v2.9
public bool IsNetFramework { get; }
Gets a value indicating that the current .NET runtime is .NET Core

IsUnix

#
public bool IsUnix { get; }
Gets a value indicating that the current OS is a unix-based system
Remarks: This will be true for both Unix (e.g. OS X) and all Linux variants.

IsWindows

#
public bool IsWindows { get; }
Gets a value indicating that the current OS is windows system

IsWinRT

#
public bool IsWinRT { get; }
Gets a value indicating that the current OS is a Windows Runtime (WinRT) system.