DoCreateFromDirectory() private static method

private static DoCreateFromDirectory ( string sourceDirectoryName, string destinationArchiveFileName, CompressionLevel compressionLevel, bool includeBaseDirectory, Encoding entryNameEncoding ) : void
sourceDirectoryName string
destinationArchiveFileName string
compressionLevel CompressionLevel
includeBaseDirectory bool
entryNameEncoding System.Text.Encoding
return void
Example #1
0
 public static void CreateFromDirectory(string sourceDirectoryName, string destinationArchiveFileName, CompressionLevel compressionLevel, bool includeBaseDirectory, Encoding entryNameEncoding)
 {
     ZipFile.DoCreateFromDirectory(sourceDirectoryName, destinationArchiveFileName, new CompressionLevel?(compressionLevel), includeBaseDirectory, entryNameEncoding);
 }
Example #2
0
 public static void CreateFromDirectory(string sourceDirectoryName, string destinationArchiveFileName)
 {
     ZipFile.DoCreateFromDirectory(sourceDirectoryName, destinationArchiveFileName, null, false, null);
 }