summaryrefslogtreecommitdiffstats
path: root/mono/Test.cs
blob: b64ed9c3858d4b5d5b30b051cb9e4263c7c6b1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

using System;

class Test {  
  static void Main() {
    DBus.Message m;
    DBus.Connection c;

    // c = new DBus.Connection ("unix:path=/tmp/foobar");

    c = DBus.Connection.GetBus (DBus.Connection.BusType.Session);
    
    m = new DBus.Message ("org.freedesktop.Foo",
                          "org.freedesktop.DBus.Broadcast");

    c.Send (m);
    c.Flush ();    
  }
}