shutdown windows 8 from metro app

Posted by MindFreak on Stack Overflow See other posts from Stack Overflow or by MindFreak
Published on 2012-09-30T05:13:41Z Indexed on 2012/09/30 9:37 UTC
Read the original article Hit count: 305

I'm doing a metro app for Windows 8. And as part of its functionality, I need to initiate shutdown of Winodws 8 from the Metro App. Here are the questions:

1) Firstly, I researched a lot on this topic and I found out that System.Diagnostics.Process is not available for Metro App. So, is there a another way around?

2) Even if I can't directly shutdown, is there a way to trigger it from the Metro App?

I would prefer a solution in C#.

Thanks.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about application