Exemple #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);

            }
        }
Exemple #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);

            }
        }
Exemple #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);
     }
 }
Exemple #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);
     }
 }