[英]How can I convert a C# application that uses StandardInput and StandardOutput in .NET Compact Framework?
I have an application that uses the Process class, StandardInput, and StandardOutput to communicate with an external executable. 我有一个使用Process类,StandardInput和StandardOutput与外部可执行文件进行通信的应用程序。 I am using this to pass strings back and forth, and it works well in my Windows application.
我正在使用它来回传递字符串,它在Windows应用程序中运行良好。
On the mobile device, I do not see StandardInput or StandardOutput in the Process class. 在移动设备上,我在Process类中看不到StandardInput或StandardOutput。 Is there an easy way to replicate this functionality on the Mobile?
有没有简单的方法可以在Mobile上复制此功能?
Not much of an answer but under certain very limited scenarios you could use command line arguments. 答案不多,但是在某些非常有限的情况下,您可以使用命令行参数。 They can be retrieved using.
可以使用检索它们。
Environment.GetCommandLineArgs()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.