예제 #1
0
 void DeleteAllStreamingFiles()
 {
     try
     {
         Directory.Delete(Functions.StreamBaseFolder, true);
     }
     catch { }
     SegmentTabel.clearAll();
 }
예제 #2
0
 void DeleteStreamingFiles(int id)
 {
     try
     {
         string OutputBasePath = Path.Combine(Functions.StreamBaseFolder, id.ToString());
         Directory.Delete(OutputBasePath, true);
     }
     catch { }
     SegmentTabel.clear("" + id);
 }