Compression or containing Multiple files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks
 
WIndows XP has built in compressed folders, I would assume its just a matter
of PInvoke on that library, but thats XP specific, I cant see any
Compression classes in the Longhorn or next up and comming .NET API set.

Since they have a license for XP and I assume LH for compression, why not
make it available in the Libraries?

The only other option is to use XML either as a manafest or as a container
with binary chunks.
 
What about using alternate streams? NTFS files have the ability to have
multiple streams. The only downside is if you need to copy the file to a
FAT/FAT32 partition, only the primary stream will be copied.

Neil
 
Check out Xceed's Zip compression managed library...

I beta tested it a while back, it worked great... they implemented the
compression as streams so you can compress/decompress anything... net
socket, filestream, memory bytes etc..
 
Back
Top