示例#1
0
文件: Program.cs 项目: LSITF/TF_T1
        static void Main(string[] args)
        {
            try
            {
                Uri    uri = new Uri("http://*****:*****@"{0}\{1}", @"d:\!TF\Tests\Application\ConApp_VS2k8\ConApp_VS2k8\files\", string.Format("TransactionReceipt_{0}.pdf", DateTime.Now.ToString("yyyyMMddHHmmssfff")));
                 * string html = File.ReadAllText(@"d:\!TF\Tests\Application\ConApp_VS2k8\ConApp_VS2k8\files\TransactionMail.html");
                 * PdfConverter converter = PdfGenerator.GetPdfConverter();
                 * converter.SavePdfFromHtmlStringToFile(html, fullPath);
                 */

                /*
                 * int b = UInt16.MaxValue - 1;
                 * string ver = AssemblyVersion.GetApplicationVersion(false);
                 * string a = ver;
                 */
                /*
                 * const string dir = @"\\DpoLrsSrv\d$\Development\Projects_deploy\PlayPaq_20130312102132\logs\20130314";
                 * const string file = "SOAP_108_171_181_248_srv2ws.pager.net - Kopia._log_01";
                 * string path = Path.Combine(dir, file);
                 * if (args != null && args.Length > 0)
                 *  path = args[0];
                 * SoapParser.Srv2SoapParser(path);
                 */
            }
            catch (Exception ex)
            {
                Console.Out.WriteLine(ex.ToString());
                LsiLogger.ErrorException("Error occured", ex);
                Console.ReadKey();
            }
        }