get_client_id


Description:

public unowned string get_client_id ()

Retrieves the session client's unique ID.

This ID can be used to construct a filename used to restore the application's state. Note that this value is only guaranteed to be valid if connected to the session manager.

<note><para> Instead of constructing a state filename, it is recommended to use get_state_file. </para></note>

Parameters:

this

An SMClient

Returns:

an opaque object-owned string