public bool ResetUserPassword(string OldPwd, string NewPwd) { bool flag = false; try { if (this.IsConnected && CiteDLL.XX_SetUserPwd(this.CamSerial, OldPwd, NewPwd) == 0) { flag = true; } } catch { } return(flag); }