OpenTAP 9.34
API Reference
OpenTap.Package.IPackageIdentifierExtensions Class Reference

Extensions to IPackageIdentifier. More...

Static Public Member Functions

static bool IsPlatformCompatible (this IPackageIdentifier pkg, CpuArchitecture selectedArch=CpuArchitecture.Unspecified, string selectedOS=null)
 True if this package is compatible (can be installed on) the specified operating system and architecture.
 

Detailed Description

Extensions to IPackageIdentifier.

Member Function Documentation

◆ IsPlatformCompatible()

static bool OpenTap.Package.IPackageIdentifierExtensions.IsPlatformCompatible ( this IPackageIdentifier pkg,
CpuArchitecture selectedArch = CpuArchitecture::Unspecified,
string selectedOS = null )
inlinestatic

True if this package is compatible (can be installed on) the specified operating system and architecture.

Parameters
pkg
selectedArchSpecifies a CPU architecture. If unspecified, the current host architecture is used.
selectedOSSpecifies an operating system. If null, the current host operating system is used.
Returns

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