get_mode


Description:

[ Version ( since = "1.2" ) ]
public unowned string get_mode ()

Returns the TUN/TAP mode for the device.

Parameters:

this

a DeviceTun

Returns:

'tun' or 'tap'




2022 vala-language.org