0
我想解壓縮文件使用StreamUtils ......所以我用SharpZipLib ..
我使用這些庫:
不能在MonoDevelop中
using System;
using Gtk;
using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip;
using System.IO;
而對於減壓:
using (FileStream streamWriter = File.Create(fullZipToPath)) {
StreamUtils.Copy(zipStream, streamWriter, buffer);
}
,但我得到這個錯誤:
the name StreamUtils doesn't exist in the current context
我錯過了什麼庫?
你從哪裏確定了這段代碼? – knocte 2014-10-01 15:34:56