WindowsApiChecker Class

Definition

Helper class for determining if a Windows API contract is available.

C++
public ref class WindowsApiChecker abstract sealed
Inheritance
WindowsApiChecker

Remarks

See https://docs.microsoft.com/uwp/extension-sdks/windows-universal-sdk for a full list of contracts.

Properties

UniversalApiContractV3_IsAvailable
Obsolete.

Is the Universal API Contract v3.0 Available?

UniversalApiContractV4_IsAvailable
Obsolete.

Is the Universal API Contract v4.0 Available?

UniversalApiContractV5_IsAvailable
Obsolete.

Is the Universal API Contract v5.0 Available?

UniversalApiContractV6_IsAvailable
Obsolete.

Is the Universal API Contract v6.0 Available?

UniversalApiContractV7_IsAvailable
Obsolete.

Is the Universal API Contract v7.0 Available?

UniversalApiContractV8_IsAvailable
Obsolete.

Is the Universal API Contract v8.0 Available?

Methods

CheckApiContracts()
IsMethodAvailable(String, String, String)

Checks to see if the requested method is present on the current platform.

IsPropertyAvailable(String, String, String)

Checks to see if the requested property is present on the current platform.

IsTypeAvailable(String, String)

Checks to see if the requested type is present on the current platform.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0