get_address_sync


Description:

public static string get_address_sync (BusType bus_type, Cancellable? cancellable = null) throws Error

Synchronously looks up the D-Bus address for the well-known message bus instance specified by bus_type.

This may involve using various platform specific mechanisms.

Parameters:

bus_type

a BusType

cancellable

a Cancellable or null

Returns:

a valid D-Bus address string for bus_type or null if throws is set