Is there any way to take a StreamWriter and output the file (in this case a .txt file) to the user with the option to open/save without actually writing the file to disk? If it is not saved it will basically go away.
I am looking for the same functionality of
HttpContext.Current.Response.TransmitFile(file);
but without having to save anything to disk. Thanks!