public void PerformFaceAnalysis(string faceImage)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.PERFORM_FACE_ANALYSIS);

            request.FaceImage = faceImage;
            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void StartFingerCapture(FINGERID fingerId)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.FINGER_START_CAPTURE);

            request.FingerID = fingerId;
            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void SearhFingerprint(string accountId, string personId)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.SEARCH);

            request.AccountID = accountId;
            request.PersonID  = personId;

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void Delete(string accountId, string personId)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.DELETE);

            request.AccountID = accountId;
            request.PersonID  = personId;

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void GetPersonByID(string accountId, string personId, string custom1)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.GET_PERSON_BY_ID);

            request.PersonID     = personId;
            request.AccountID    = accountId;
            request.CustomField1 = custom1;

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void SearchFace(string accountId, string personId, string faceImage)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.SEARCH_FACE);

            request.PersonID  = personId;
            request.AccountID = accountId;
            request.FaceImage = faceImage;

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void StartRegister(string accountId, string personId, string custom1,
                                  string custom2, string custom3, string faceImage, bool faceOnly)
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.REGISTER);

            request.AccountID    = accountId;
            request.PersonID     = personId;
            request.CustomField1 = custom1;
            request.CustomField2 = custom2;
            request.CustomField3 = custom3;
            request.FaceImage    = faceImage;
            request.FaceOnly     = faceOnly;

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void CancelFingerprintSearch()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.CANCEL_SEARCH);

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void CancelRegister()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.CANCEL_REGISTRATION);

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void SubmitRegister()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.SUBMIT_REGISTRATION);

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void StopFaceAnalysis()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.STOP_FACE_ANALYSIS);

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void DeleteCapturedFinger()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.DELETE_FINGER);

            _ws.Send(JsonConvert.SerializeObject(request));
        }
        public void StopFingerCapture()
        {
            var request = new SimpleIDRequest(_apiKey, OperationType.FINGER_STOP_CAPTURE);

            _ws.Send(JsonConvert.SerializeObject(request));
        }