Beispiel #1
0
 public bool DeleteFile(string fileName)
 {
     foreach (Chunk chunk in this.fileList[fileName].Chunks)
     {
         if (chunk.FileServer.Available)
         {
             var client = new FileServiceClient("IFileService_IFileService",chunk.FileServer.FileServerServicePoint);
             client.DeleteChunk(chunk.GUID);
         }
     }
     fileList.Remove(fileName);
     return true;
 }