Ejemplo n.º 1
0
        public bool ResetAdminPassword(string OldPwd, string NewPwd)
        {
            bool flag = false;

            try
            {
                if (this.IsConnected && CiteDLL.XX_SetSystemPwd(this.CamSerial, OldPwd, NewPwd) == 0)
                {
                    flag = true;
                }
            }
            catch
            {
            }
            return(flag);
        }