Property

GioDBusConnection:guid

since: 2.26

Declaration

property guid: utf8 [ read, write, construct-only ]

Description [src]

The GUID of the peer performing the role of server when authenticating.

If you are constructing a GDBusConnection and pass G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER in the GDBusConnection:flags property then you must also set this property to a valid guid.

If you are constructing a GDBusConnection and pass G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT in the GDBusConnection:flags property you will be able to read the GUID of the other peer here after the connection has been successfully initialized.

Note that the D-Bus specification uses the term ‘UUID’ to refer to this, whereas GLib consistently uses the term ‘GUID’ for historical reasons.

Despite its name, the format of GDBusConnection:guid does not follow RFC 4122 or the Microsoft GUID format.

Type:gchar*

Available since: 2.26

Default valueNULL
Getter methodg_dbus_connection_get_guid()

Flags

Readableyes
Writableyes
Constructno
Construct onlyyes