/// <summary> /// 登录加密锁 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <returns></returns> public int Login_Click() { //key.UserPin1 = -306874307; //key.UserPin2 = 1164321836; //key.UserPin3 = 1119679192; //key.UserPin4 = 1795531629; key.UserPin1 = 1489046975; key.UserPin2 = 676158292; key.UserPin3 = 2013626743; key.UserPin4 = 1834427932; Rtn = NT158App.NT158Login(keyHandles[0], key.UserPin1, key.UserPin2, key.UserPin3, key.UserPin4); return(Rtn); }
/// <summary> /// 查找加密狗 /// </summary> /// <returns></returns> public int checkDog() { key.AppId = "BDC";//识别码 Rtn = NT158App.NT158Find(key.AppId, keyHandles, keyNum); return(Rtn); }