Contents

SCNetworkInterfaceGetLocalizedDisplayName(_:)

Returns the localized display name, such as “Ethernet” or “FireWire”, for the specified interface.

Declaration

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

Parameters

  • interface:

    The network interface.

Return Value

The localized display name for the interface, or NULL if no name is available.

See Also

Configuring Network Interfaces