protected void OnButton1Clicked(object sender, EventArgs e) { ObjectPath opath = new ObjectPath("/org/example/TestObject"); string name = "org.example.TestServer"; Bus bus = Bus.Session; sample = bus.GetObject <ITestInterface>(name, opath); int teste = sample.Adder(5, 12); label1.Text = Convert.ToString(teste); label2.Text = sample.Ping(); string teste3 = sample.Echo("Hello dbus"); }