Beispiel #1
0
        /// <summary>
        /// 登录加密锁
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        ///
        public int Login_Click()
        {
            key.UserPin1 = 1477462876;
            key.UserPin2 = -223285517;
            key.UserPin3 = -996008857;
            key.UserPin4 = 1481388299;

            Rtn = NT158App.NT158Login(keyHandles[0], key.UserPin1, key.UserPin2, key.UserPin3, key.UserPin4);
            return(Rtn);
        }
Beispiel #2
0
 /// <summary>
 /// 查找加密狗
 /// </summary>
 /// <returns></returns>
 public int checkDog()
 {
     key.AppId = "BDC";//识别码
     Rtn       = NT158App.NT158Find(key.AppId, keyHandles, keyNum);
     return(Rtn);
 }