diff options
Diffstat (limited to 'src/main/Program.cs')
-rw-r--r-- | src/main/Program.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/Program.cs b/src/main/Program.cs index e02a212..0c1a2ba 100644 --- a/src/main/Program.cs +++ b/src/main/Program.cs @@ -23,15 +23,16 @@ namespace PKISharp.WACS.Host AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(OnUnhandledException); - // Uncomment to debug with a local proxy like Fiddler - // System.Net.ServicePointManager.ServerCertificateValidationCallback += - // (sender, cert, chain, sslPolicyErrors) => true; - // Setup IOC container var container = GlobalScope(args); if (container == null) { Environment.ExitCode = -1; + if (Environment.UserInteractive)
+ {
+ Console.WriteLine(" Press <Enter> to close");
+ Console.ReadLine();
+ } return; } |