/// <summary> /// /// </summary> /// <returns></returns> public void Login() { if (!(CamLeft.Login() && CamRight.Login())) { var iLastErr = NET_DVR_GetLastError(); throw new Exception("NET_DVR_Login failed, error code= " + iLastErr); } }
/// <summary> /// /// </summary> /// <returns></returns> public bool Login() { return(CamLeft.Login() && CamRight.Login()); }