Example #1
0
 /// <summary>
 /// Disconnect the automation interface/controller device.
 /// </summary>
 public void Disconnect()
 {
     if (cameraSource != IntPtr.Zero)
     {
         CameraCaptureV4LInterop.CloseCameraStream(cameraSource);
         cameraSource = IntPtr.Zero;
     }
 }
Example #2
0
 /// <summary>
 /// Disconnect the automation interface/controller device.
 /// </summary>
 public void Disconnect()
 {
     Log.Debug($"{this.GetDomain()} Disconnecting");
     if (this.cameraSource != IntPtr.Zero)
     {
         CameraCaptureV4LInterop.CloseCameraStream(this.cameraSource);
         this.cameraSource = IntPtr.Zero;
     }
 }