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
 
Back
Top