get_network_time_sync


Description:

[ Version ( since = "1.0" ) ]
public string get_network_time_sync (Cancellable? cancellable = null) throws Error

Synchronously requests the current network time.

The calling thread is blocked until a reply is received. See get_network_time for the asynchronous version of this method.

Parameters:

this

A ModemTime.

cancellable

A Cancellable or null.

Returns:

A string containing the network time, or null if error is set. The returned value should be freed with g_free.