public bool RebootCamera() { bool flag = false; try { if (this.IsConnected && CiteDLL.XX_Reboot(this.CamSerial)) { flag = true; } } catch (Exception exception) { string message = exception.Message; } return(flag); }