public bool CheckUserPassword(string pwd, bool mount_usb) { bool flag = false; try { if (CiteDLL.XX_CheckUserPwd(this.CamSerial, pwd, mount_usb) == 0) { flag = true; } } catch (Exception exception) { flag = false; } return(flag); }