Yeap, Jesse Liberty shows exactly how to do it in his book, thanks.

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick Steele
Sent: Friday, August 12, 2005 6:53 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] re-creating a binary file from a Stream

That should work fine with Streams alone.

---
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele/



> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Alex Smotritsky
> Sent: Friday, August 12, 2005 9:01 AM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] re-creating a binary file from a Stream
>
>
> I've embedded an assembly (dll) into a new winforms project
> as an Embedded Resource. I'm able to load this resource as a
> raw stream of bytes using the Assembly class's
> GetManifestResourceStream method. I now want to be able to
> write this resource to my hard drive so I end up with
> something like C:\MyResource.dll, MyResource.dll being the
> assembly I embedded in my app. I haven't figured out yet
> whether I can do this with Streams alone or have to use
> Formatters/ISerializable. and would appreciate some pointers.

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to