get_interface_name


Description:

[ Version ( since = "1.0" ) ]
public unowned string get_interface_name ()

Returns the interface name as stored in NMSettingConnection:interface_name.

If the connection contains no NMSettingConnection, it will return null.

For hardware devices and software devices created outside of NetworkManager, this name is used to match the device. for software devices created by NetworkManager, this is the name of the created interface.

Parameters:

this

The Connection

Returns:

Name of the kernel interface or null