Beispiel #1
0
        public void InitializeDomeService(string id)
        {
            if (Service.DeviceCreated)
            {
                Service.Dispose();
                Service = null;
            }

            // This creates the service and defines the driver ID.

            Service.CreateDevice(id);
        }
Beispiel #2
0
 private void ReleaseDomeService()
 {
     _service.Dispose();
     _service = null;
 }