Structured Storage in .NET?

  • Thread starter Thread starter ERE
  • Start date Start date
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
 
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.
 
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

Back
Top