NetworkInterfaceInfo

public struct NetworkInterfaceInfo

This struct describes the model for the “info” item of the newtork interface struct

  • The interface name. This is optional, and may be empty

    Declaration

    Swift

    public var name: String
  • The hardware MAC address. It is a string in the format 00-FF:00-FF:00-FF:00-FF:00-FF:00-FF

    Declaration

    Swift

    public var hwAddress: String
  • mtu

    The maximum transmission unit (MTU) size. 0 is undefined.

    Declaration

    Swift

    public var mtu: Int
  • Returns the parameters in a fashion suitable for sending to the device.

    Declaration

    Swift

    public var asParameters: [String : Any]! { get }