Start process from stream

后端 未结 4 1668
北荒
北荒 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:35

    If there is, process.Start won't be the way, but I'd risk guessing that there isn't. Unless there's a specific PDF API that allows that somehow (I doubt) I'd save it to disk.

提交回复
热议问题