Anonymous
public text v1 · immutableimport clr
clr.AddReferenceToFileAndPath("/home/alp/Projects/dbus-sharp/src/NDesk.DBus.dll")
from NDesk.DBus import *
from org.freedesktop.DBus import *
conn = Connection()
opath = ObjectPath("/org/freedesktop/DBus")
name = "org.freedesktop.DBus"
#TODO: DProxy prox = new DProxy (conn, opath, name, typeof (Bus));
prox = DProxy(conn, opath, name, Bus)
#TODO: Bus bus = (Bus)prox.GetTransparentProxy ();
bus = prox.GetTransparentProxy
myName = bus.Hello()
print myName