Create a file in memory and than email

  • Thread starter Thread starter Amy L.
  • Start date Start date
A

Amy L.

I am working on creating a web service that will create a signed xml file.
I would like to create this file in memory and than somehow email it to the
user that requested it to be generated. I would prefer a solution that does
not require the file to be first wrote to disk or requires the user to save
the file from the browser.

I know I can create a file using MemoryStream, but I not sure on how to
transform that MemroyStream into an actual file to attach to an email.

Thanks
Amy.
 
Back
Top