dbusAddressGetStreamSync

fngio.iostream.IOStream dbusAddressGetStreamSync(string address, out string outGuid, gio.cancellable.Cancellable cancellable = null)

Synchronously connects to an endpoint specified by address and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. address must be in the

D-Bus address format.

A server is not required to set a GUID, so out_guid may be set to null even on success.

This is a synchronous failable function. See [gio.global.dbusAddressGetStream] for the asynchronous version.

Parameters

addressA valid D-Bus address.
outGuidnull or return location to store the GUID extracted from address, if any.
cancellableA #GCancellable or null.

Returns

A #GIOStream or null if error is set.

Throws

[ErrorWrap]