Differences

This shows you the differences between the selected revisions of the page.

2012-01-11 2012-01-13
example (martin) exit code (martin)
Line 41: Line 41:
using WinSCP; using WinSCP;
-class Test+class Example
{ {
-    static void Main()+    public static int Main()
    {     {
        try         try
Line 115: Line 115:
                }                 }
            }             }
 +
 +            return 0;
        }         }
        catch (Exception e)         catch (Exception e)
        {         {
            Console.WriteLine("Error: {0}", e);             Console.WriteLine("Error: {0}", e);
 +            return 1;
        }         }
    }     }

Last modified: by martin