Example #1
0
        public Wicd ()
        {
            if (!ManagerPresent) {
                throw new ApplicationException (String.Format ("Name {0} has no owner", BusName));
            }

            manager = Bus.System.GetObject<IWicd> (BusName, new ObjectPath(ObjectPath));
            manager.StatusChanged += OnStateChange;
        }
Example #2
0
        public Wicd()
        {
            if (!ManagerPresent) {
                throw new ApplicationException (String.Format ("Name {0} has no owner", BusName));
            }

            manager = Bus.System.GetObject<IWicd> (BusName, new ObjectPath(ObjectPath));
            manager.StatusChanged += OnStateChange;
        }