Exemple #1
0
        private void ExportXML()
        {
            string dbpath = "C:\\Clasp32\\DATA\\data.db3";

            try
            {
                if (File.Exists(infoFile))
                {
                    File.Delete(infoFile);
                }
                if (File.Exists(matrixFile))
                {
                    File.Delete(matrixFile);
                }
                Thread.Sleep(200);
                AgentDll.dump_table(dbpath, "Info", infoFile);
                Thread.Sleep(200);
                AgentDll.dump_table(dbpath, "Conscida", matrixFile);
                Thread.Sleep(200);
                AgentDll.dump_table(dbpath, "Risks", risksFile);
            }
            catch (Exception ex)
            {
                WriteLog(ex.ToString());
                string str = ex.ToString();
            }
        }