/// <summary> /// Stop scanning for devices. /// </summary> public void StopScanning() { if (!masterEmulator.IsDeviceDiscoveryOngoing) { return; } bool success = masterEmulator.StopDeviceDiscovery(); if (success) { ScanningCanceled(this, EventArgs.Empty); } }
void StopScan() { if (!masterEmulator.IsDeviceDiscoveryOngoing) { return; } bool success = masterEmulator.StopDeviceDiscovery(); if (!success) { log.Add(new StringValue(AppText.StopScanError)); } }