简体   繁体   English

c#中是否有System.Diagnostics.process类的替代项(因为Windows 8商店应用程序不可用)?

[英]are there any alternates for System.Diagnostics.process class in c# (as it is unavailable for windows 8 store apps)?

I want to open up some tasks by using command prompt commands in my windows 8 store app (metro app ) .if it is a desktop app , then i will go for process class in system namespace. 我想通过在Windows 8应用商店(地铁应用程序)中使用命令提示符命令来打开一些任务。如果它是桌面应用程序,那么我将在系统名称空间中使用流程类。 now it seems that it is unavailable for windows 8 store apps .so i am in need of a class or a function that will run command prompt commands in windows 8 store apps . 现在看来Windows 8应用商店尚不可用。因此,我需要一个类或函数来在Windows 8应用商店中运行命令提示符命令。

This isn't possible. 这是不可能的。 You are sandboxed when you make a Windows 8 application. 制作Windows 8应用程序时,您将被沙箱化。 You cannot launch another application from within your app. 您无法从应用程序内启动另一个应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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