Differences

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

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

Last modified: by martin