Ejemplo n.º 1
0
 public static void Main(string[] args)
 {
     ExampleClass example = new ExampleClass();
     example.ConvertVideo("my_video.avi");
     /* you should watch for when the finished method
        returns true, and then act accordingly */
     /* as we are in a console, the host application (we)
        may finish before the guest application (convert.exe),
        so we need to wait here */
     while(!example.finished()) {
         /* wait */
         Thread.Sleep(100);
     }
     /* video finished converting */
     doActionsAfterConversion();
 }