简体   繁体   中英

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. I am using this to pass strings back and forth, and it works well in my Windows application.

On the mobile device, I do not see StandardInput or StandardOutput in the Process class. Is there an easy way to replicate this functionality on the 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()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM