IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Runtime.RuntimeUtil Class Reference

Maintains various information about the current runtime environment. More...

Properties

static bool IsMono = Type.GetType("Mono.Runtime") != null [get]
 Returns true if the current runtime is Mono.
 
static bool IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) [get]
 Returns true if the current platform is Windows.
 
static bool IsLinux = RuntimeInformation.IsOSPlatform(OSPlatform.Linux) [get]
 Returns true if the current platform is Linux.
 
static bool IsOSX = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) [get]
 Returns true if the current platform is Mac OS X.
 
static string RuntimeIdentifier [get]
 Gets the current runtime identifier.
 
static IEnumerable< string > SupportedRuntimeIdentifiers [get]
 Gets the supported RIDs, returned in most specific order.
 

Detailed Description

Maintains various information about the current runtime environment.

Definition at line 13 of file RuntimeUtil.cs.

Property Documentation

◆ IsLinux

bool IKVM.Runtime.RuntimeUtil.IsLinux = RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
staticget

Returns true if the current platform is Linux.

Definition at line 32 of file RuntimeUtil.cs.

32{ get; } = RuntimeInformation.IsOSPlatform(OSPlatform.Linux);

◆ IsMono

bool IKVM.Runtime.RuntimeUtil.IsMono = Type.GetType("Mono.Runtime") != null
staticget

Returns true if the current runtime is Mono.

Definition at line 22 of file RuntimeUtil.cs.

22{ get; } = Type.GetType("Mono.Runtime") != null;
IKVM.Reflection.Type Type

◆ IsOSX

bool IKVM.Runtime.RuntimeUtil.IsOSX = RuntimeInformation.IsOSPlatform(OSPlatform.OSX)
staticget

Returns true if the current platform is Mac OS X.

Definition at line 37 of file RuntimeUtil.cs.

37{ get; } = RuntimeInformation.IsOSPlatform(OSPlatform.OSX);

◆ IsWindows

bool IKVM.Runtime.RuntimeUtil.IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
staticget

Returns true if the current platform is Windows.

Definition at line 27 of file RuntimeUtil.cs.

27{ get; } = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);

◆ RuntimeIdentifier

string IKVM.Runtime.RuntimeUtil.RuntimeIdentifier
staticget

Gets the current runtime identifier.

Definition at line 42 of file RuntimeUtil.cs.

◆ SupportedRuntimeIdentifiers

IEnumerable<string> IKVM.Runtime.RuntimeUtil.SupportedRuntimeIdentifiers
staticget

Gets the supported RIDs, returned in most specific order.

Definition at line 110 of file RuntimeUtil.cs.


The documentation for this class was generated from the following file: