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.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Hardware
Some hardware related utilities.
You can use
Device.mainto 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.