コード例 #1
0
        private void StartCapture(string sensor, GrFingerEventHandler grFingerEventHandler, GrImageEventHandler grImageEventHandler)
        {
            int errorCode = 0;

            try
            {
                errorCode = GrFingerprintProxy.GrCapStartCapture(sensor, grFingerEventHandler, grImageEventHandler);
            }
            catch (AccessViolationException exception)
            {
                FingerprintException exception2 = new FingerprintException(-113, exception);
                throw exception2;
            }
            FingerprintException.CheckError(errorCode);
        }