Table of Contents

Class PlatformDetection

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll
A utility type which provides information about the executing runtime, including:
  • Operating system
  • Architecture
  • Runtime
    • Kind (Framework, CoreCLR, Mono)
    • Version
  • Corelib
public static class PlatformDetection
Inheritance
PlatformDetection

Properties

Architecture
Gets the ArchitectureKind identifying the architecture of the current process.
Corelib
Gets the current runtime's corelib.
OS
Gets the OSKind identifying the operating system that is running this application.
Runtime
Gets the current runtime's implementation.
RuntimeVersion
Gets the current runtime's version.