dbusGenerateGuid
fn
string dbusGenerateGuid()Generate a D-Bus GUID that can be used with e.g. [gio.dbus_connection.DBusConnection.new_].
See the
D-Bus specificationregarding what strings are valid D-Bus GUIDs. The specification refers to these as ‘UUIDs’ whereas GLib (for historical reasons) refers to them as ‘GUIDs’. The terms are interchangeable.
Note that D-Bus GUIDs do not follow
RFC 4122.Returns
A valid D-Bus GUID. Free with [glib.global.gfree].