1

I am using a Raspberry Pi 2 with Windows IoT Core. I have an application (set as default) which I want to restart, scheduled once a day programmatically.

Is this possible? If restarting the application is not possible, how about rebooting the Raspberry programmatically?

0

public static void RestartHelper(ShutdownKind kind) { ShutdownManager.BeginShutdown(kind, TimeSpan.FromSeconds(0)); }

call this function:

RestartHelper(Windows.System.ShutdownKind.Restart);

Add (Windows IoT Extensions for the UWP) in references extension



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.