コード例 #1
0
ファイル: MPQEditor.cs プロジェクト: Stannnnn/War3NetMPQApi
 public void Restore(string file)
 {
     using (MemoryStream stream = MpqArchive.Restore(file))
     {
         using (FileStream streamOut = File.Create(file))
         {
             stream.CopyTo(streamOut);
         }
     }
 }