public void CloseScanner() { try { _rc = LumiSDKWrapper.LumiClose(_hHandle); _rc = LumiSDKWrapper.LumiExit(); } catch (Exception err) { _statusMessage += "An Error occured: " + err + " _rc = " + _rc + "\r\n"; throw err; } finally { } }