get_devices


Description:

public unowned GenericArray<Device> get_devices ()

Gets all the known network devices.

Use nm_device_get_type or the <literal>NM_IS_DEVICE_XXXX</literal> functions to determine what kind of device member of the returned array is, and then you may use device-specific methods such as nm_device_ethernet_get_hw_address.

Parameters:

this

a Client

Returns:

a GenericArray containing all the Devices. The returned array is owned by the Client object and should not be modified.