The One With

Introducing Compression/Zip Library for .NET (coming soon in v2013.1)

 

Zip Compression Library In the upcoming v2013.1 release, we will introduce a new Compression Library for .NET. The new Zip Compression Library was build from the ground up to help with compression and decompression tasks in your Desktop or ASP.NET (full and medium trust) applications. The library will allow you to fully manage existing .zip archive files, create new ones or to compress and decompress in memory streams.

 

The usage is very straight forward, to create a new archive:

using (ZipArchive archive = new ZipArchive()) {

    archive.EncryptionType = EncryptionType.PkZip;

    archive.AddFiles(

            new String[] {

                    @"C:\Source\File 1.txt",

                    @"C:\Source\File 2.txt",

                    @"C:\Source\File 3.txt" },

            @"\");

               

    archive.AddDirectory(@"C:\Source\Folder\", @"\Folders\");

               

    archive.Save(@"C:\Archives\Archive.zip");

}

To extract an existing one:

using (ZipArchive archive = ZipArchive.Read(@"C:\Archives\Archive.zip")) {

    archive.Extract(@"C:\Exptracted\");

}

EDIT: The Barcode Library will be made available as part of the Universal Subscription and as part of our new .NET Document Server standalone subscription.

Cheers,

Azret

Published May 30 2013, 02:51 PM by
Bookmark and Share

Comments

Gosha

That's superb!

May 30, 2013 6:09 PM

George Shubin

Love it.

May 30, 2013 6:49 PM

Mehmet Dagdeviren

Nicely !

May 31, 2013 1:07 AM

Mark Harby

Nice addition.

Any news on the PDF viewer Azret ?

May 31, 2013 3:32 AM

Neven Zovko

Great!

May 31, 2013 7:04 AM

John Rychter

Azret. which subscriptions will  include this new component?

Thanks,

-jr

May 31, 2013 10:00 AM

Azret Botash (DevExpress)

@John Rychter: This will be part of Universal, there will be an option to purchase documents library separately as well...

@Mark Harby: Coming in 13.1 as a beta :)

May 31, 2013 12:29 PM

Neal

Universal, seriously?  Wow!

May 31, 2013 3:17 PM

Brendon Muck [DevExpress MVP]

Would this have .cab file support?

May 31, 2013 11:57 PM

Mark Harby

Universal ?

June 2, 2013 7:09 AM

Martin Hart

Will zipx be supported?

June 3, 2013 2:17 AM

Azret Botash (DevExpress)

An algorithm we use in Compression library is a combination of the LZ77 algorithm and Huffman coding. Of course we will be expanding on this and we will consider more options for you guys. Thanks so much for your feedback.

June 5, 2013 12:45 PM
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2016 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners