get_version_info


Description:

[ CCode ( array_length_pos = 0.1 , array_length_type = "gsize" ) ]
[ Version ( since = "1.42" ) ]
public unowned uint32[] get_version_info ()

If available, the first element in the array is NM_VERSION which encodes the daemon version as "(major << 16 | minor << 8 | micro) ".

The following elements are a bitfield of nmversioninfocapabilities that indicate that the daemon supports a certain capability.

Parameters:

this

the Client instance

length

the number of returned capabilities.

Returns:

the list of capabilities reported by the server or null if the capabilities are unknown.