Instance Property

type

The type of the interface, such as Wi-Fi or loopback.

Declaration

See Also

Inspecting Interfaces

enum NWInterface.InterfaceType

Types of network interfaces, based on their link layer media types.

let name: String

The name of the interface.

let index: Int

The system interface index associated with the interface.

var debugDescription: String

The description of the network interface.