Start process from stream

后端 未结 4 1625
北荒
北荒 2021-01-12 04:54

I have a memory stream that contains a PDF file.

Is it possible to view the PDF without saving it to the hard disk ? Process.Start() only takes a path and not a str

4条回答
  •  抹茶落季
    2021-01-12 05:45

    You can create a RAM drive and write the stream to it, this way you are still keeping it all in ram (assuming the disk operations are what worries you).

提交回复
热议问题