Saving embedded resources to disk

  • Thread starter Thread starter Robert Misiak
  • Start date Start date
R

Robert Misiak

Is it possible to save an embedded resource as a real file on the local
disk?

Robert
 
Yes.

You get the stream of the embedded resource (lookup
GetManifestResourceStream) and then, after that, treat it as a regular
read-only stream. You can read the whole stream and write it out as a disk
file.

-vJ
 

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