Click here to Skip to main content
15,917,062 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Some years ago, back in the DOS days, Microsoft had a technology for creating structured file storage. It allowed a developer to create a single, compiled file that contained a data hierarcy similar to MS-DOS, with folders and nodes. I have a few projects on the back burner where that kind of single file organization would be useful and I'm wondering if that technology (or something similar) still exists and is useable within .Net.

I have thought of using XML, but that is unsuitable for two reasons. First, the data to be stored is potentially large and binary, which could make XML encoding awkward. Second, I like the idea of a compiled, compressed and optimized format, which would prevent people from directly altering the file itself.

Any suggestions, or should I plan on rolling my own file structure?
Posted

Whasn't this the OLE file architecture? http://en.wikipedia.org/wiki/Object_Linking_and_Embedding[^]
I think it's still supported.
 
Share this answer
 
How about ZIP - with a password and your own extension that would stop the simple-but-curious. Supports files and folders, compresses, etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900