예제 #1
0
 public void Restore(string file)
 {
     using (MemoryStream stream = MpqArchive.Restore(file))
     {
         using (FileStream streamOut = File.Create(file))
         {
             stream.CopyTo(streamOut);
         }
     }
 }