PC Review


Reply
Thread Tools Rate Thread

How do i shutdown my system using System.Management namespace?

 
 
Bredal Jensen
Guest
Posts: n/a
 
      7th Oct 2004


 
Reply With Quote
 
 
 
 
Champika Nirosh
Guest
Posts: n/a
 
      7th Oct 2004
Hi,

How about making a call to user32.dll
make a call to the ExitWindows or ExitWindowsEx API functions
through the P/Invoke layer.

I think System.Management classes shutdown a system on systems
running W2K or higher only.

Nirosh.

"Bredal Jensen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>



 
Reply With Quote
 
Shiva
Guest
Posts: n/a
 
      7th Oct 2004
Hi,
Check out this thread:
http://www.dotnet247.com/247referenc...45/229082.aspx

"Bredal Jensen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Management Namespace TomR Microsoft VB .NET 0 24th Sep 2009 09:59 PM
System.Management.Instrumentation namespace Samuel Shulman Microsoft VB .NET 0 4th May 2006 11:14 PM
System.Management namespace =?Utf-8?B?UGF1bFRob21hcw==?= Microsoft Dot NET 1 25th Jun 2005 11:41 AM
System.Management Namespace =?Utf-8?B?VFJX?= Microsoft C# .NET 2 17th Mar 2005 02:43 PM
System.Management namespace Mr B Microsoft C# .NET 1 19th Jan 2004 04:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:44 PM.