Hierarchy (view full)

Constructors

Properties

get: (() => Network)

Methods

  • Returns Promise<void>

  • Get all network interfaces. The optional configuration parameter allows to map interface names to types if this mapping is known. Each network interface which has no mapped type is returned as Ethernet for now.

    Parameters

    • Optionalconfiguration: NetworkInterface[]

      An array of objects with the name and type properties.

    Returns NetworkInterface[]

  • Parameters

    • netInterface: undefined | string
    • ipv4: boolean

    Returns (undefined | string)[]

  • Parameters

    • netInterface: string

    Returns undefined | string

  • Parameters

    • ip: string

    Returns undefined | string

  • Parameters

    • netInterface: string

    Returns undefined | string