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