什么是System.Diagnostic.Process上的WinRT(C#)等价? [英] What's the equivalent of the System.Diagnostic.Process on WinRT (C#)?

查看:210
本文介绍了什么是System.Diagnostic.Process上的WinRT(C#)等价?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从我的WinRT应用程序中启动了几个命令,就像如果它是一个命令控制台,为了做到这一点,就不是WinRT的应用程式使用的类System.Diagnostic.Process但在Win RT他?类不可用,没有任何等价类或方法,我可以使用

I need to launch a couple of commands from my WinRT application, like if it were a Command Console, in order to do this, on not WinRT apps the class to be used is System.Diagnostic.Process but on Win RT his class is not available, is there any equivalent class or method that i could use?

在此先感谢:)

推荐答案

您不能这样做,从Windows Store应用程序 - 这些都是沙盒,并没有获得其他进程。更多细节的这里

You cannot do that from a Windows Store application - those are sandboxed and do not have access to other processes. More details here.

这篇关于什么是System.Diagnostic.Process上的WinRT(C#)等价?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆