Web- und Software Development

Windows neu starten – WPF Quicky

Written By: Mario Priebe - Dez• 22•09

Den Rechner neu starten aus einer WPF Applikation kann man via


System.Diagnostics.Process.Start("shutdown.exe", "-r -t 0");

Eine Liste mit Parametern findest Du auf SS64

Ähnliche Beiträge

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

2 Comments

  1. Thomas sagt:

    Was hat das denn mit WPF zu tun, das ist doch Oberflächen-unabhängig und geht auch mit WinForms oder einer Konsolenanwendung. Die Einteilung in WPF-Kategorie ist irreführend.

  2. Mario sagt:

    Du hast recht, war sicher schon etwas spät : )