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
 
Back
Top