OpenTAP 9.34
API Reference
OpenTap.Package.ArchitectureHelper Class Reference

Helper methods used to determine CpuArchitecture and compatibility between them. More...

Static Public Member Functions

static bool CompatibleWith (CpuArchitecture host, CpuArchitecture plugin)
 Returns true if a host OS can support a plugin with a given CPU architecture.
 
static bool PluginsCompatible (CpuArchitecture plugin1, CpuArchitecture plugin2)
 Returns true if the architectures of two plugins are compatible.
 

Properties

static CpuArchitecture HostArchitecture [get]
 Returns the CPU architecture of the host OS.
 
static CpuArchitecture GuessBaseArchitecture [get]
 Returns the architecture that the OpenTAP was compiled for, or the best guess it can give based on the current host architecture and process state.
 

Detailed Description

Helper methods used to determine CpuArchitecture and compatibility between them.

Member Function Documentation

◆ CompatibleWith()

static bool OpenTap.Package.ArchitectureHelper.CompatibleWith ( CpuArchitecture host,
CpuArchitecture plugin )
inlinestatic

Returns true if a host OS can support a plugin with a given CPU architecture.

Parameters
hostThe architecture of the host.
pluginThe architecture of the plugin.
Returns

◆ PluginsCompatible()

static bool OpenTap.Package.ArchitectureHelper.PluginsCompatible ( CpuArchitecture plugin1,
CpuArchitecture plugin2 )
inlinestatic

Returns true if the architectures of two plugins are compatible.

Parameters
plugin1The architecture of one of the plugins.
plugin2The architecture of the other plugin.
Returns
True, if those two plugins can be used together.

OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15