Table of Contents

Method GetKernel

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

GetKernel(OSKind)

Gets the kernel OSKind for operatingSystem.
public static OSKind GetKernel(this OSKind operatingSystem)

Parameters

operatingSystem OSKind
The OSKind to get the kernel of.

Returns

OSKind
The OSKind representing operatingSystem's kernel.

Remarks

This method returns operatingSystem except when noted in the remarks of the OSKind members.

This is usually what you want to use, if you don't care about the differences between the more precise subtypes.