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

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

问题描述

我需要从我的 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 应用商店应用程序中执行此操作 - 这些应用程序已被沙盒化并且无法访问其他进程.更多详情这里.

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

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

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