I have a javascript file as an embedded resource in an assembly, and I'm trying to use the Stream from "System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("someName");" to create a new FileInfo object. My confusion is how to use a stream to create the FileInfo. If anyone can help me in this I would be greatly appreciative. I'm sure it's probably something easy, but easy is usually what I always seem to miss.
You have to create the file, then read the resource stream, and write the file stream.