summaryrefslogtreecommitdiffstats
path: root/mono/Connection.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/Connection.cs')
-rw-r--r--mono/Connection.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mono/Connection.cs b/mono/Connection.cs
index fad0dc56..acc6ef6d 100644
--- a/mono/Connection.cs
+++ b/mono/Connection.cs
@@ -76,6 +76,14 @@ namespace DBus
return new Connection(rawConnection);
}
+ public string BaseService
+ {
+ get
+ {
+ return Marshal.PtrToStringAnsi (dbus_bus_get_base_service (RawConnection));
+ }
+ }
+
public int Timeout
{
get
@@ -182,5 +190,8 @@ namespace DBus
[DllImport ("dbus-1")]
private extern static void dbus_connection_disconnect (IntPtr ptr);
+
+ [DllImport ("dbus-1")]
+ private extern static IntPtr dbus_bus_get_base_service (IntPtr ptr);
}
}