get_applied_connection


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" , since = "1.2" ) ]
public Connection get_applied_connection (uint32 flags, out uint64 version_id, Cancellable? cancellable = null) throws Error

Warning: get_applied_connection is deprecated since 1.22.

Fetch the currently applied connection on the device.

Note:

Use get_applied_connection_async or GDBusConnection.

Parameters:

this

a Device

flags

the flags argument. See DeviceReapplyFlags.

version_id

returns the current version id of the applied connection

cancellable

a Cancellable, or null

Returns:

a nmconnection with the currently applied settings or null on error.

The connection is as received from D-Bus and might not validate according to verify.