static void DownloadReport() { Report[] report = new Report[] { new Report { Instance = new Instance { Cuid = "AU1vn__iWJdBnnl0RDgI4zs" }, Id = "12792", } }; SchDownload frm = new SchDownload(); frm.Url = @"http://*****:*****@"c:\"; frm.Show(); frm.Close(); }
static void DownloadReport() { Report[] report = new Report[] { new Report { Instance = new Instance { Cuid = "AU1vn__iWJdBnnl0RDgI4zs" }, Id = "12792", } }; SchDownload frm = new SchDownload(); frm.Url = @"http://treelife.dev.micropole.com/dswsbobje/services"; frm.Domain = "treelife"; frm.Login = "******"; frm.AuthType = "secEnterprise"; frm.Password = "******"; frm.SetReports(ref report); frm.Directory = @"c:\"; frm.Show(); frm.Close(); }
static void DownloadReport2() { Report[] report = new Report[] { new Report { Instance = new Instance { Cuid = "ASisoidlZUtCiuG0tQ8A51s", Id = "6226" }, Id = "4990", } }; SchDownload frm = new SchDownload(); frm.Url = @"http://*****:*****@"c:\"; frm.Show(); frm.Close(); }
static void Download() { Report[] report = new Report[] { new Report { Id = "12288", Cuid = "AfgVIsAn2NhIoUXnUMiQe3g", Instance = new Instance { Cuid = "AUWxdEjeBP5NvLrNvWmuxaQ" }, } }; SchDownload frm = new SchDownload(); frm.Url = @"http://*****:*****@"C:\dl"; frm.SetReports(ref report); frm.Show(); frm.Close(); }