public void Dispose() { uint tmpError; tmpError = EDSDK.EdsTerminateSDK(); this.SDKState = false; }
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(); }
/// <summary> /// Terminates the SDK. /// </summary> /// <remarks></remarks> private void terminateSDK() { UInt32 returnValue = EDSDK.EdsTerminateSDK(); ReturnValueManager.HandleFunctionReturnValue(returnValue); }
private void UnInitialize() { Array.ForEach(_processors.Values.ToArray(), cameraProcessor => cameraProcessor.Dispose()); SDKHelper.CheckError(EDSDK.EdsRelease(_cameraListPointer)); SDKHelper.CheckError(EDSDK.EdsTerminateSDK()); }