Author: mike123 | Posted on: 6/24/2008 4:32:47 PM | Views : 231

Hi,

I have an imageStream that is returned by a function.  Right now we use this stream to serve the file

Dim imagestream As IO.Stream = 'function here

context.Response.ContentType = "image/jpeg"

context.Response.BinaryWrite(CType(imagestream, MemoryStream).ToArray)

 

I want to save the imageStream to the local HD by passing it a path.  I've been playing around with memorystreams, filestreams etc for a couple hours and ...

Go to the complete details ...