hi to all,
i want to restart the system using The C#.Net. so, plz help me.
thank u.
with thanks and regards
mmary
Printable View
hi to all,
i want to restart the system using The C#.Net. so, plz help me.
thank u.
with thanks and regards
mmary
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.
thank u for ur kind reply. thank u very much
with thanks and regards
mmary
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! :)