예제 #1
0
        public void Dispose()
        {
            uint tmpError;

            tmpError      = EDSDK.EdsTerminateSDK();
            this.SDKState = false;
        }
예제 #2
0
        public void Dispose()
        {
            uint err = 0;

            //CLOSE THE CAMERA SESSION (ASSUMING THERE IS ONE) RELEASE THE CAMERA AND TERMINATE THE SDK
            err = EDSDK.EdsCloseSession(camObj);
            err = EDSDK.EdsRelease(camObj);
            err = EDSDK.EdsTerminateSDK();
        }
예제 #3
0
        /// <summary>
        /// Terminates the SDK.
        /// </summary>
        /// <remarks></remarks>
        private void terminateSDK()
        {
            UInt32 returnValue = EDSDK.EdsTerminateSDK();

            ReturnValueManager.HandleFunctionReturnValue(returnValue);
        }
예제 #4
0
 private void UnInitialize()
 {
     Array.ForEach(_processors.Values.ToArray(), cameraProcessor => cameraProcessor.Dispose());
     SDKHelper.CheckError(EDSDK.EdsRelease(_cameraListPointer));
     SDKHelper.CheckError(EDSDK.EdsTerminateSDK());
 }