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; }
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; }