R
Rahul
Problem Statement : I need to convert a pdf file on the file system into a
filestream and then pass this stream to the calling program. Once the steam
has been created I want to delete the file. The calling program then needs
to use that stream and open pdf file.
I know how to create the file stream. I cannot delete the file since there
is a filestream that is open for that file. Do I have to convert it into
some other stream like Memory Stream? If yes, then how?
Also how can the calling program use the stream to open the pdf file.
Thanks
Rahul
filestream and then pass this stream to the calling program. Once the steam
has been created I want to delete the file. The calling program then needs
to use that stream and open pdf file.
I know how to create the file stream. I cannot delete the file since there
is a filestream that is open for that file. Do I have to convert it into
some other stream like Memory Stream? If yes, then how?
Also how can the calling program use the stream to open the pdf file.
Thanks
Rahul