Ejemplo n.º 1
0
 private static void WriteReport(string path, UpdateReport report)
 {
     try
     {
         using (FileStream stream = new FileStream(path, FileMode.Create))
         {
             report.Write(stream);
         }
     }
     catch (Exception exception1)
     {
         Debug.LogError(exception1);
     }
 }