@tavora/sdk / SystemInfo
Interface: SystemInfo
Defined in: packages/sdk/src/protocol.ts:259
What this PC is, through the system-info connector: names and sizes only, never a path or a serial number. Read once and kept; asked again after a systemInfo.drivesChanged event, the only part that can change.
Properties
cpu
cpu:
object
Defined in: packages/sdk/src/protocol.ts:260
model
model:
string
The processor's name as Windows gives it, such as "AMD Ryzen 9 5900X 12-Core Processor".
threads
threads:
number
Logical processors (threads).
drives
drives:
object[]
Defined in: packages/sdk/src/protocol.ts:279
The drives with a letter now: hard drives, USB sticks, network drives. No CD or DVD drives.
id
id:
string
The drive letter with a colon, such as "C:".
kind
kind:
SystemDriveKind
label
label:
string
The drive's name ("Games"), or an empty text when it has none or Tavora doesn't ask.
totalBytes
totalBytes:
number|null
Size in bytes, or null when unknown. Always null for network drives, which Tavora doesn't wait for.
gpus
gpus:
object[]
Defined in: packages/sdk/src/protocol.ts:269
The graphics cards, without software adapters such as Microsoft Basic Render Driver.
dedicated
dedicated:
boolean
Has its own video memory (512 MB or more), as opposed to sharing the PC's memory.
id
id:
string
The adapter's LUID as text, such as "0x00000000_0x0001defc"; the same id as in snapshots.
name
name:
string
vramBytes
vramBytes:
number|null
Its own video memory in bytes, or null when it has none.
ramBytes
ramBytes:
number
Defined in: packages/sdk/src/protocol.ts:267
Installed memory in bytes.