Function SCNetworkInterfaceGetHardwareAddressString

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceGetHardwareAddressString(
    interface: &SCNetworkInterface,
) -> Option<CFRetained<CFString>>
Available on crate feature SCNetworkConfiguration only.
Expand description

Returns a displayable link layer address for the interface.

Parameter interface: The network interface.

Returns: A string representing the hardware (MAC) address for the interface.