/// <summary> /// Constructor /// </summary> internal DeviceManager() { _myDevice = new DeviceIo(); _keepWorking = true; _myThread = new Thread(DoWork); _myThread.Start(); _uri = string.Empty; _session = string.Empty; _deviceId = string.Empty; }
/// <summary> /// Stop the local service /// </summary> public void StopService() { _keepWorking = false; _myDevice = null; }