Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Is it possible to create a zip file in memory using Xceed Zip?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20585 |

    With the ActiveX version of the Xceed Zip Compression Library, it is not possible to create a zip file in memory.

    As of version 2.0 of Xceed Zip for .NET, you simply need to use an instance of the MemoryFile class in the constructor of your ZipArchive class to create a zip file in memory. For example:

    Dim folder As New DiskFolder( “c:\windows\fonts” )
    Dim zip As New ZipArchive( New MemoryFile( “RAM_File”, “fonts.zip” ) )

    folder.CopyFilesTo( zip, false, true )

    Imported from legacy forums. Posted by Xceed admin (had 2137 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.