Show / Hide Table of Contents

Class RuntimeEnvironment

Helper methods for interacting with the runtime environment.

Inheritance
System.Object
RuntimeEnvironment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Runtime
Assembly: Kephas.Core.dll
Syntax
public static class RuntimeEnvironment

Fields

| Improve this Doc View Source

LibraryPathEnvVariable

The library path environment variable.

Declaration
public const string LibraryPathEnvVariable = "LD_LIBRARY_PATH"
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

Platform

Gets the platform.

Declaration
public static PlatformID Platform { get; }
Property Value
Type Description
System.PlatformID

Methods

| Improve this Doc View Source

IsMonoRuntime()

Indicates wheter the application runs on the Mono runtime.

Declaration
public static bool IsMonoRuntime()
Returns
Type Description
System.Boolean

True if the application runs on the Mono runtime, false if not.

| Improve this Doc View Source

IsUnix()

Checks whether .NET is running on the Mono Platform by asking Environment.OSVersion.Platform. Can be overridden for testing purposes by setting AppEnvironment.Platform.

Declaration
public static bool IsUnix()
Returns
Type Description
System.Boolean

True if the operating system is Unix like, false if not.

| Improve this Doc View Source

IsWindows()

Checks whether .NET is running on the Mono Platform by asking Environment.OSVersion.Platform. Can be overridden for testing purposes by setting AppEnvironment.Platform.

Declaration
public static bool IsWindows()
Returns
Type Description
System.Boolean

True if the operating system is Unix like, false if not.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX