// Open the Camera by IP. static bool CameraOpen(ref tCamera Camera) { // Open by the address of camera. if ((Pv.CameraOpenByAddr(Camera.S_addr, tAccessFlags.eAccessMaster, out Camera.Handle) == tErr.eErrSuccess)) { Pv.CameraInfoByAddr(Camera.S_addr, ref Camera.Info, ref Camera.Conf); return(true); } else { return(false); } }