From dc686ab082dbfdd3ec963b210c657a362e613733 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 16 Jun 2015 20:16:05 +0000 Subject: [PATCH] Added copyright and proprietary statement. Added was successfully created. --- PROMS/PromsGetDoc/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PROMS/PromsGetDoc/Program.cs b/PROMS/PromsGetDoc/Program.cs index 39dfeee4..09337b53 100644 --- a/PROMS/PromsGetDoc/Program.cs +++ b/PROMS/PromsGetDoc/Program.cs @@ -29,6 +29,8 @@ namespace PromsGetDoc Console.WriteLine("Need 4 arguments: DocId, Output File/Path, Server Name, Database Name"); return; } + Console.WriteLine("Volian Enterprises Proprietary Software - Copyright 2015 \r\n\n" + + "To be used under the Volian PROMS End User License Agreement (EULA).\r\n\nFor AP-1000 Westinghouse internal use only.\r\n"); byte[] doc = null; int _docId = int.Parse(args[0]); string connectionStr = string.Format(@"Data Source={0};Initial Catalog={1};Integrated Security=True", args[2], args[3]); @@ -68,6 +70,7 @@ namespace PromsGetDoc FileStream fs = fi.Create(); fs.Write(doc, 0, doc.Length); fs.Close(); + Console.WriteLine("{0} was successfully created.", fi.FullName); } catch (Exception ex1) {