0

i'm connecting Zkteco device with my API , but in some request my api changes device time, i want to control the time.

this is handshake request [HttpGet] [Route("iclock/cdata")]

this request returns:

            var info = string.Format(@"GET OPTION FROM: BRC7213162133
                TransFlag=TransData AttLog  OpLog   AttPhoto    EnrollFP    EnrollUser  FPImag  ChgUser ChgFP   FACE    UserPic FVEIN   BioPhoto
                ServerVer=2.4.1
                PushProtVer=2.4.1
                Encrypt=0
                EncryptFlag=1000000000
                SupportPing=1
                PushOptionsFlag=1
                PushOptions=UserCount,TransactionCount,FingerFunOn,FPVersion,FPCount,FaceFunOn,FaceVersion,FaceCount,FvFunOn,FvVersion,FvCount,PvFunOn,PvVersion,PvCount,BioPhotoFun,BioDataFun,PhotoFunOn,~LockFunOn,CardProtFormat,~Platform,MultiBioPhotoSupport,MultiBioDataSupport,MultiBioVersion
                MultiBioDataSupport=0:1:1:0:0:0:0:1:1:1
                MultiBioPhotoSupport=0:0:0:0:0:0:0:0:0:1
                TimeZone = 2
                TransTimes=00:00;14:05
                TransInterval=1
                ErrorDelay=60
                Delay=10
                Realtime=1
                Stamp=1662385210
                OpStamp=1662385210
                PhotoStamp=0");
            

            return Ok(info);

how could i set zkteco time to my api time?

  • Looks like it is supported only in the licensed version. Try the licensed version: https://camsunit.com/application/biometric-web-api.html, – Ravanan Sep 11 '22 at 15:01
  • I am not clear what you need. `GET OPTION FROM` is setting the time zone for the device. If you need to read the device time, and depending on the type of it, you can send the `INFO` command. If that command is recognized by the device, it should return several info. Among them, a data whose name is `~ProductTime`. – jstuardo Oct 04 '22 at 13:06

0 Answers0