public void Dispose() { if (_device != null) { _device.Dispose(); } }
public void Dispose() { if (_device != null) { // _device.IsRunning = true; _device.Dispose(); } }