Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
c# file class that can be added to zip archive.
I have a console application that creates several text files on disk, then adds them to a zip file.
What I would like to do is:
1. create the files as "virtual" files, ie create a class for each file with name and contents
2. write these class files to a zip archive.
Any thoughts appreciated.
8/22/2022 - Mon
So you want to
instances of this class to a file? Can you expand your explanation a tad?
Please check these links.
The free C# ZIP library
Chilkat C# Zip Class Reference:
A New Standard For Packaging Your Data:
hey, kaufmed, thanks for the reply.
I was thinking that I don't really need a physical file on disk if I can create a class with a name property and a content property (the other file properties are not useful to me). I could create this class instead of a physical file, and then add it to a zip archive as if it was a physical
file. I'm just not sure how to go about it.
If I create the physical file then I would need to delete it after it is added to the zip archive.
Your help has saved me hundreds of hours of internet surfing.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
kaufmed, you rock! This works perfectly and is just what I was looking for. Thanks for help.
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent