如何获取在PC上运行的metro应用程序列表 [英] How to get list of metro app running in PC
问题描述
您好我希望区分Metro应用程序与窗口应用程序,
我可以使用C#中的HandleWindow.AllWindow()找到窗口应用程序列表,但这样我就无法获得我的城域应用程序列表。
我们知道WinRT是Windows运行时库,为Metro应用程序提供系统服务。我能否以某种方式检测在WinRT下运行的进程
或者我可以在构建函数中使用(在 http://msdn.microsoft.com/en-us/library/windows/desktop/hh448383(v = vs.85) .aspx [ ^ ])
Hi I want to differentiate metro app from window apps,
I can find window app list using HandleWindow.AllWindow()in C# but this way I could not get list of my metro apps.
We know that WinRT is the Windows Runtime library that provides system services for Metro apps. Can I somehow detect processes running under WinRT
or could I use in build function like (given at http://msdn.microsoft.com/en-us/library/windows/desktop/hh448383(v=vs.85).aspx[^])
BOOL WINAPI IsImmersiveProcess(
_In_ HANDLE hProcess
);
我需要紧急帮助。
提前致谢
I need urgent help.
Thanks in advance
推荐答案
不可能。
这将违反沙箱。
您不希望某个随机应用获取有关您运行的应用程序的信息并将其报告回家。
Not possible.
That would be a breach of sandbox.
You don't want some random app getting information about the apps you run and reporting it home.
这篇关于如何获取在PC上运行的metro应用程序列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!