get_all_devices


Description:

[ Version ( since = "1.2" ) ]
public unowned GenericArray<Device> get_all_devices ()

Gets both real devices and device placeholders (eg, software devices which do not currently exist, but could be created automatically by NetworkManager if one of their NMDevice::ActivatableConnections was activated).

Use is_real to determine whether each device is a real device or a placeholder.

Use nm_device_get_type or the NM_IS_DEVICE_XXXX functions to determine what kind of device each member of the returned array is, and then you may use device-specific methods such as 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.