Structured Storage in .NET?

E

ERE

I'd like to encapsulate several files -- mostly graphics files -- as a
single file. Does .NET provide a convenient way to do this? COM provided
structured storage -- but I definitely don't want to go there!

Thanks,
Dan
 
J

Jon Skeet [C# MVP]

ERE said:
I'd like to encapsulate several files -- mostly graphics files -- as a
single file. Does .NET provide a convenient way to do this? COM provided
structured storage -- but I definitely don't want to go there!

You can include files in your assemblies (make the files Embedded
Resources) and then use Assembly.GetManifestResourceStream to read the
files.
 
E

ERE

Thanks!

Dan


Jon Skeet said:
You can include files in your assemblies (make the files Embedded
Resources) and then use Assembly.GetManifestResourceStream to read the
files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top