G Guest Jul 13, 2007 #1 Is there a .NET class for rebooting XP and specifying the program to run on reboot? Thanks, jeff
G Guest Jul 15, 2007 #2 Hello, Under System.Management namespace you will find the methods to programmatically reboot your PC, here you have some useful links: http://www.csharphelp.com/board2/read.html?f=1&i=44188&t=44188 http://www.thescripts.com/forum/thread47713.html http://www.dotnet247.com/247reference/msgs/1/7455.aspx Good luck Braulio /// ------------------------------ /// Braulio Diez /// /// http://www.tipsdotnet.com /// ------------------------------
Hello, Under System.Management namespace you will find the methods to programmatically reboot your PC, here you have some useful links: http://www.csharphelp.com/board2/read.html?f=1&i=44188&t=44188 http://www.thescripts.com/forum/thread47713.html http://www.dotnet247.com/247reference/msgs/1/7455.aspx Good luck Braulio /// ------------------------------ /// Braulio Diez /// /// http://www.tipsdotnet.com /// ------------------------------