hardwareAddress()
The hardware media access control (MAC) address for the interface, returned as a UTF-8 string.
Declaration
func hardwareAddress() -> String?Discussion
The standard format for printing a MAC-48 address <00:00:00:00:00:00> is used to represent the MAC address as a string. Returns nil in the case of an error.