PDA

Click to See Complete Forum and Search --> : restarting of system


mmary
Apr 2nd, 2007, 02:48 AM
hi to all,
i want to restart the system using The C#.Net. so, plz help me.


thank u.

with thanks and regards
mmary

jmcilhinney
Apr 2nd, 2007, 04:32 AM
You can use Process.Start to execute the shutdown.exe utility included with recent Windows versions or you can invoke the ExitWindowsEx API function. There are examples of both posted on the forum already. Also you can just get the commandline parameters from Windows Help & Support or from a Command Prompt window.

mmary
Apr 2nd, 2007, 05:18 AM
thank u for ur kind reply. thank u very much

with thanks and regards
mmary

penagate
Apr 2nd, 2007, 05:43 AM
If you feel your problem is adequately resolved, please help us by marking it as such using the Thread Tools menu above the first post. Thanks! :)