shutdown device with C#

  • Thread starter Thread starter Joshua T. Moore
  • Start date Start date
J

Joshua T. Moore

I need to be able to shutdown a CE.NET device using c#...anyone know how?

Thanks.
 
Here's some VB.NET code that works for me. Maybe I shouldn't be using it but
it seems to work fine.

Public Declare Sub GwesPowerOffSystem Lib "Coredll" ()
Sub PowerOff()
GwesPowerOffSystem()
End Sub

Good Luck,

shapij
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top