Questions tagged [system.io.compression]

a compression library for handling zip files and other formats built into .NET framework 4.5 or greater.

System.IO.Compression is a namespace provided as part of the .NET framework for handling some compressed file formats.

The formats supported are

  • GZip (stream)
  • Deflate (stream)
  • Zip

Full documentation can be found on MSDN's website at https://msdn.microsoft.com/en-us/library/system.io.compression(v=vs.110).aspx

64 questions
0
votes
0 answers

Base64encoded GZipStream is not matching windows

I have the following csv file: https://dl.dropboxusercontent.com/u/8518063/ShareX/2016/03/simple.csv I use windows explorer to "send to compressed zip folder" and get this file: https://dl.dropboxusercontent.com/u/8518063/ShareX/2016/03/simple.zip I…
LearningJrDev
  • 911
  • 2
  • 8
  • 27
-1
votes
2 answers

Invalid C# Zip File After Compressing

I am writing a code to compress a ZIP file in C# using the built in .NET library: using System.IO.Compression; using System.IO; But, however, when the compression finishes, the code outputs an invalid zip file. It seems like somewhere down the line…
-2
votes
1 answer

Listing files with system.io.compression vb.net

So im trying to use zip files in my program, but i cannot get even basic function to work from io.compression, namely open read: Imports System.IO Imports System.IO.Compression Public Class Form1 Private Sub Button1_Click(sender As Object, e…
Zabujca
  • 23
  • 4
-2
votes
1 answer

Use specific encoding for reading ZipArchive

please tell me, how do I implement Encoding.GetEncoding ( "cp866")? In the course of export from archive the Russian symbols aren't correctly displayed. public static class ZipArchiveExtension { public static void ExtractToDirectory(this…
aaa
  • 121
  • 1
  • 6
1 2 3 4
5