|
-
Apr 2nd, 2007, 02:48 AM
#1
Thread Starter
Addicted Member
restarting of system
hi to all,
i want to restart the system using The C#.Net. so, plz help me.
thank u.
with thanks and regards
mmary
Last edited by mmary; Apr 2nd, 2007 at 05:55 AM.
-
Apr 2nd, 2007, 04:32 AM
#2
Re: restarting of system
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.
-
Apr 2nd, 2007, 05:18 AM
#3
Thread Starter
Addicted Member
Re: restarting of system
thank u for ur kind reply. thank u very much
with thanks and regards
mmary
-
Apr 2nd, 2007, 05:43 AM
#4
Re: restarting of system
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|