address_get_stream_sync
Description:
[ Version ( since = "2.26" ) ]
public IOStream address_get_stream_sync (string address, out string? out_guid, Cancellable? cancellable = null) throws Error
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 address_get_stream for the asynchronous version.
Parameters:
address |
A valid D-Bus address. |
out_guid |
null or return location to store the GUID extracted from |
cancellable |
A Cancellable or null. |
Returns:
A IOStream or null if throws is set. |
Namespace: GLib.DBus
Package: gio-2.0