Click or drag to resize

Runtime Class

A class that hosts the most common properties of the runtime environment.
Inheritance Hierarchy
SystemObject
  CSScriptLibRuntime

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public static class Runtime

The Runtime type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsCore
Gets a value indicating whether the runtime is core.
Public propertyStatic memberIsLinux
Note it is not about OS being exactly Linux but rather about OS having Linux type of file system. For example path being case sensitive
Public propertyStatic memberIsMono
Gets a value indicating whether the runtime is Mono.
Public propertyStatic memberIsNet
Gets a value indicating whether the runtime is .Net
Public propertyStatic memberIsWin
Gets a value indicating whether the host OS Windows.
Public propertyStatic memberNuGetCacheView
Gets the nuget cache path in the form displayable in Console.
Top
See Also