Computer system
The information refer to the computer system on native macOS
Original source
The computer system information are retrieved from the MacOsComputerSystem interface, which inherits ComputerSystem
KInfo's source
Retrieve hardware as shown in the Hardware API. Unavailable machine identity values can be empty strings
Properties
manufacturer
The manufacturer of the computer system
model
The model identifier of the computer system
serialNumber
The serial number of the computer system
hardwareUUID
The hardware UUID of the computer system
val hardwareUUID: String = computerSystem.hardwareUUID
println(hardwareUUID) // e.g. 00000000-0000-0000-0000-000000000000
firmware
The firmware information of the computer system
baseboard
The baseboard information of the computer system