public MyZipFileInfo GetFile(string name) { FixName(ref name); return(new MyZipFileInfo(MyZipArchiveReflection.GetFile(m_zip, m_mixedCaseHelper[name]))); }
public void DeleteFile(string name) { FixName(ref name); MyZipArchiveReflection.DeleteFile(m_zip, name); }
public static MyZipArchive OpenOnStream(Stream stream, FileMode mode = FileMode.OpenOrCreate, FileAccess access = FileAccess.ReadWrite, bool streaming = false) { return(new MyZipArchive(MyZipArchiveReflection.OpenOnStream(stream, mode, access, streaming))); }
public MyZipFileInfo AddFile(string path, CompressionMethodEnum compressionMethod = CompressionMethodEnum.Deflated, DeflateOptionEnum deflateOption = DeflateOptionEnum.Normal) { return(new MyZipFileInfo(MyZipArchiveReflection.AddFile(m_zip, path, (ushort)compressionMethod, (byte)deflateOption))); }
public static MyZipArchive OpenOnFile(string path, FileMode mode = FileMode.Open, FileAccess access = FileAccess.Read, FileShare share = FileShare.Read, bool streaming = false) { return(new MyZipArchive(MyZipArchiveReflection.OpenOnFile(path, mode, access, share, streaming), path)); }