Updated header
Some hardware related utilities.
You can use Device.main to interrogate various properties of the machine that you’re running on.
Device.main
In particular, you can obtain a unique identifier. This is based on the ethernet MAC address (on macOS), or the identifierForVendor value (on iOS).
Also contains some IOKit-related wrappers.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Hardware
Some hardware related utilities.
You can use
Device.main
to interrogate various properties of the machine that you’re running on.In particular, you can obtain a unique identifier. This is based on the ethernet MAC address (on macOS), or the identifierForVendor value (on iOS).
Also contains some IOKit-related wrappers.