how to shut down system programatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Anyone have any code examples on how to shut down the system or info on what
namspace and class to use?
Thanks
gv
 
Thanks, unfortunately, this is a little beyond my capabilities, I don't know
how to use any Win32 api calls from .net.
 
You might want to look at WMI, you can shut down pcs locally or remotely
with it. Look under System.Management for the framework classes and then if
you have MSDN Library look under Setup and System Administration/Windows
Management Instrumentation. This will show you all the classes you can
access. System shutdown is under Win32_OperatingSystem
 
You might want to look at WMI, you can shut down pcs locally or remotely
with it. Look under System.Management for the framework classes and then if
you have MSDN Library look under Setup and System Administration/Windows
Management Instrumentation. This will show you all the classes you can
access. System shutdown is under Win32_OperatingSystem
 
Yea, that was my next step.
Thanks
gv

Frank Wisniewski said:
You might want to look at WMI, you can shut down pcs locally or remotely
with it. Look under System.Management for the framework classes and then if
you have MSDN Library look under Setup and System Administration/Windows
Management Instrumentation. This will show you all the classes you can
access. System shutdown is under Win32_OperatingSystem







----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---
 
Back
Top