protected bool ScanDevice() { if (CurrenRfidReader == null) { return(false); } if (!CurrenRfidReader.IsConnected) { return(false); } if (CurrenRfidReader.IsInScan) { CurrenRfidReader.RequestEndScan(); Thread.Sleep(2000); } CurrenRfidReader.RequestScan3D(true, true); return(true); }