Esempio n. 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);
        }
Esempio n. 2
0
 private void ReleaseDomeService()
 {
     _service.Dispose();
     _service = null;
 }