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
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
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Wieso gut und schnell nicht billig ist.
- Gut und billig - geht nicht schnell.
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.
Du hast recht, war sicher schon etwas spät : )