Ejemplo n.º 1
0
        private static void AddCameraToDatabase(string type, string model, string prefix, string source, string url, string cookies, string flags, int port)
        {
            try
            {
                var r = new Reporting.Reporting { Timeout = 8000 };
                r.AddCamera2(type, model, prefix, source, url, cookies, flags, port);
                r.Dispose();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);

            }
        }
Ejemplo n.º 2
0
        private static void AddCameraToDatabase(string type, string model, string prefix, string source, string url, string cookies, string flags, int port)
        {
            try
            {
                var r = new Reporting.Reporting { Timeout = 8000 };
                r.AddCamera2(type, model, prefix, source, url, cookies, flags, port);
                r.Dispose();
            }
            catch (Exception ex)
            {
                MainForm.LogExceptionToFile(ex);

            }
        }
Ejemplo n.º 3
0
 private static void AddCameraToDatabase(string type, string model, string prefix, string source, string url, string cookies, string flags, int port)
 {
     try
     {
         var r = new Reporting.Reporting {
             Timeout = 8000
         };
         r.AddCamera2(type, model, prefix, source, url, cookies, flags, port);
         r.Dispose();
     }
     catch (Exception ex)
     {
         MainForm.LogExceptionToFile(ex);
     }
 }
Ejemplo n.º 4
0
 private static void AddCameraToDatabase(string type, string model, string prefix, string source, string url, string cookies, string flags, int port)
 {
     try
     {
         var r = new Reporting.Reporting {
             Timeout = 8000
         };
         r.AddCamera2(type, model, prefix, source, url, cookies, flags, port);
         r.Dispose();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }