![]() | Runtime Class |
Namespace: CSScriptLib
public static class Runtime
The Runtime type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | IsCore |
Gets a value indicating whether the runtime is core.
|
![]() ![]() | IsLinux |
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
|
![]() ![]() | IsMono |
Gets a value indicating whether the runtime is Mono.
|
![]() ![]() | IsNet |
Gets a value indicating whether the runtime is .Net
|
![]() ![]() | IsWin |
Gets a value indicating whether the host OS Windows.
|
![]() ![]() | NuGetCacheView |
Gets the nuget cache path in the form displayable in Console.
|