Example #1
0
 /// <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);
     }
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public bool Login()
 {
     return(CamLeft.Login() && CamRight.Login());
 }