views:

245

answers:

1

Hi!

How can I save a uploaded file (a pdf for example) to a MemoryStream?

Thanks!!

A: 

See Best way to copy between two Stream instances - C#

Use File to get the stream.

chriseyre2000