从开始的过程流 [英] Start process from stream
本文介绍了从开始的过程流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含一个PDF文件的存储流。
I have a memory stream that contains a PDF file.
是否可以浏览PDF,而不把它保存到硬盘上?的Process.Start()只需要一个路径,而不是流。
Is it possible to view the PDF without saving it to the hard disk ? Process.Start() only takes a path and not a stream.
感谢您
推荐答案
只有在C#中实现自己的伪文件系统,不知何故安装这是在Windows磁盘,并让它拦截打开文件和流您的MemoryStream的内容。绝对100%肯定不值得的努力。
Only by implementing your own pseudo-file system in C#, somehow mounting this as a disk in Windows, and having it intercept the file open and stream the contents of your MemoryStream. Absolutely 100% certainly not worth the effort.
这篇关于从开始的过程流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文