Exemple #1
0
        bool ReadDogInfo()
        {
            dogInfo = new DogInfo();
            int result = dogInfo.getDogInfo();

            if (result != 0)
            {
                return(false);
            }

            return(true);
        }
Exemple #2
0
        private bool ReadDogInfo()
        {
            dogInfo = new DogInfo();
            int result = dogInfo.getDogInfo();

            if (result != 0)
            {
                //Console.WriteLine("读取加密狗失败!");
                return(false);
            }

            return(true);
        }