Beispiel #1
0
 public HardwareManager()
 {
     OsxService.GlobalInit ();
     this.diskArbiter = new OsxDiskArbiter ();
     diskArbiter.DeviceAppeared += OnDeviceAppeared;
     diskArbiter.DeviceChanged += OnDeviceChanged;
     diskArbiter.DeviceDisappeared += OnDeviceDisappeared;
     diskArbiter.StartListening ();
 }