Class based on http://www.codeproject.com/Articles/209731/Csharp-use-Zip-archives-without-external-libraries.
More...
|
| static MyZipArchive | OpenOnFile (string path, FileMode mode=FileMode.Open, FileAccess access=FileAccess.Read, FileShare share=FileShare.Read, bool streaming=false) |
| |
| static MyZipArchive | OpenOnStream (Stream stream, FileMode mode=FileMode.OpenOrCreate, FileAccess access=FileAccess.ReadWrite, bool streaming=false) |
| |
| static bool | IsHidden (FileInfo f, DirectoryInfo relativeTo) |
| |
| static void | CreateFromDirectory (string sourceDirectoryName, string destinationArchiveFileName, DeflateOptionEnum compressionLevel, bool includeBaseDirectory, string[] ignoredExtensions=null, bool includeHidden=true) |
| |
| static void | ExtractToDirectory (string sourceArchiveFileName, string destinationDirectoryName) |
| |
| static void VRage.Compression.MyZipArchive.CreateFromDirectory |
( |
string |
sourceDirectoryName, |
|
|
string |
destinationArchiveFileName, |
|
|
DeflateOptionEnum |
compressionLevel, |
|
|
bool |
includeBaseDirectory, |
|
|
string[] |
ignoredExtensions = null, |
|
|
bool |
includeHidden = true |
|
) |
| |
|
inlinestatic |
| void VRage.Compression.MyZipArchive.DeleteFile |
( |
string |
name | ) |
|
|
inline |
| bool VRage.Compression.MyZipArchive.DirectoryExists |
( |
string |
name | ) |
|
|
inline |
| void VRage.Compression.MyZipArchive.Dispose |
( |
| ) |
|
|
inline |
| static void VRage.Compression.MyZipArchive.ExtractToDirectory |
( |
string |
sourceArchiveFileName, |
|
|
string |
destinationDirectoryName |
|
) |
| |
|
inlinestatic |
| bool VRage.Compression.MyZipArchive.FileExists |
( |
string |
name | ) |
|
|
inline |
| MyZipFileInfo VRage.Compression.MyZipArchive.GetFile |
( |
string |
name | ) |
|
|
inline |
| static bool VRage.Compression.MyZipArchive.IsHidden |
( |
FileInfo |
f, |
|
|
DirectoryInfo |
relativeTo |
|
) |
| |
|
inlinestatic |
| static MyZipArchive VRage.Compression.MyZipArchive.OpenOnFile |
( |
string |
path, |
|
|
FileMode |
mode = FileMode.Open, |
|
|
FileAccess |
access = FileAccess.Read, |
|
|
FileShare |
share = FileShare.Read, |
|
|
bool |
streaming = false |
|
) |
| |
|
inlinestatic |
| static MyZipArchive VRage.Compression.MyZipArchive.OpenOnStream |
( |
Stream |
stream, |
|
|
FileMode |
mode = FileMode.OpenOrCreate, |
|
|
FileAccess |
access = FileAccess.ReadWrite, |
|
|
bool |
streaming = false |
|
) |
| |
|
inlinestatic |
| IEnumerable<string> VRage.Compression.MyZipArchive.FileNames |
|
get |
| string VRage.Compression.MyZipArchive.ZipPath |
|
get |
The documentation for this class was generated from the following file: