Contents

SCNetworkInterfaceGetHardwareAddressString(_:)

Returns a displayable link layer address for the specified interface.

Declaration

func SCNetworkInterfaceGetHardwareAddressString(_ interface: SCNetworkInterface) -> CFString?

Parameters

  • interface:

    The network interface.

Return Value

The hardware MAC (Media Access Control) address for the interface.

See Also

Configuring Network Interfaces