/// <summary> /// Perform the action. /// </summary> protected override void DoWork() { // Listen for devices deviceMonitor.Start(); deviceMonitor.WaitForInitialUpdate(); // Perform the connect connecting = true; var adb = new Adb { Logger = LogOutput }; adb.Connect(host, port, Adb.Timeout.Connect); }