Far*_*sen 2 .net wpf camera microsoft-metro
我有一个普通的.net 4 WPF应用程序,它应该在Windows 8.1平板电脑上运行.从这个应用程序我想启动原生Metro摄像头应用程序,如果它可用.
我曾尝试寻找答案,但似乎需要一个Windows应用程序来启动metro应用程序.
甚至可能吗?
谢谢 :)
看看这篇文章:http://winaero.com/blog/exclusive-how-to-start-a-modern-app-from-desktop-without-going-to-the-metro-start-screen/
基本上,你需要运行:
explorer shell:AppsFolder\Microsoft.MoCamera_cw5n1h2txyewy!Microsoft.Camera
例如使用:
Process.Start("explorer", @"shell:AppsFolder\Microsoft.MoCamera_cw5n1h2txyewy!Microsoft.Camera");
Run Code Online (Sandbox Code Playgroud)
我不确定这是否会超级可靠或面向未来,但它适用于我尝试过的所有Windows 8.1机器!
| 归档时间: |
|
| 查看次数: |
2071 次 |
| 最近记录: |