Skip to main content

NativeHardware

Kindclass
Packagebackend
Full namebackend.NativeHardware
Sourcesource/backend/NativeHardware.hx
Compiled when#if !(cpp)

Native CPU / operating system queries.

Not available on this target: every query returns an empty string, which the engine reports as "Unknown".

Public methods​

cpuVendor​

static function cpuVendor():String

Only compiled when #if !(cpp).

The CPU vendor. Empty on this target.

View source

cpuModel​

static function cpuModel():String

Only compiled when #if !(cpp).

The CPU model. Empty on this target.

View source

osName​

static function osName():String

Only compiled when #if !(cpp).

The operating system name. Empty on this target.

View source

osVersion​

static function osVersion():String

Only compiled when #if !(cpp).

The operating system version. Empty on this target.

View source