Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Stop the local service
 /// </summary>
 public void StopService()
 {
     _keepWorking = false;
     _myDevice = null;
 }