Table of Contents

Class PlatformHelper

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Provides helper methods for Platforms.

public static class PlatformHelper
Inheritance
PlatformHelper
Inherited Members

Methods

IsCompatible(Platforms)

Determines whether the current process is compatible with the specified platform.

public static bool IsCompatible(this Platforms platform)

Parameters

platform Platforms

The target platform to check compatibility for.

Returns

bool

true if the current process is compatible with the specified platform; otherwise, false.

Exceptions

ArgumentOutOfRangeException

Thrown when the platform is not recognized.