Hi,

I have a xml file that contains among other things a file,
converted into a string (using Convert.ToBase64String). I
would like to read the file into a memory stream again
using a Convert function (FromBase64String) and dertermine
the filename and possible other attributes and here comes
the hard part - without having to save the file onto a
harddisc.

So the question is: can i retrieve the filename from a
file stored in a memory stream without having to save the
file?

Thanks in advance...

Klaus Enevoldsen

Re: Retrieving file name from memory stream? by Mattias

Mattias
Tue Dec 02 18:02:21 CST 2003

Klaus,

>So the question is: can i retrieve the filename from a
>file stored in a memory stream without having to save the
>file?

Not unless you store the filename yourself, perhaps in some kind of
header in the stream.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.