コード例 #1
0
 public void CaptureFinalize()
 {
     try
     {
         int errorCode = 0;
         try
         {
             errorCode = GrFingerprintProxy.GrCapFinalize();
         }
         catch (AccessViolationException exception)
         {
             FingerprintException exception2 = new FingerprintException(-113, exception);
             throw exception2;
         }
         FingerprintException.CheckError(errorCode);
     }
     finally
     {
         if (this.grStatusEventHandler != null)
         {
             this.grStatusEventHandler = null;
             if (this.gchStatus.IsAllocated)
             {
                 this.gchStatus.Free();
             }
         }
     }
 }