public void InitializeDomeService(string id) { if (Service.DeviceCreated) { Service.Dispose(); Service = null; } // This creates the service and defines the driver ID. Service.CreateDevice(id); }
private void ReleaseDomeService() { _service.Dispose(); _service = null; }