Axarydax
Axarydax

Reputation: 16603

SetSuspendState in Windows 8 Store App

Is it possible to somehow suspend the computer from Windows 8 store app? In Windows Forms I could use Application.SetSuspendState, or call SetSuspendState through P/Invoke from powrprof.dll, but nothing seems to work here. I suspect that in fact the apps aren't allowed to suspend the computer, but I'd like to be certain of that.

Upvotes: 0

Views: 249

Answers (1)

user7116
user7116

Reputation: 64068

Looking through the C# and Native API's supported in Windows Store Apps, the answer is No. The lists do not contain reference to those API's, thus you are not to use them if they are to be accepted.

Upvotes: 1

Related Questions