From: Newbie on 4 May 2010 12:33 i m newbie Can i shut down 64bit windows 7 by c# code? Thanks
From: Jeff Johnson on 4 May 2010 14:31 "Newbie" <Newbie(a)discussions.microsoft.com> wrote in message news:9C4AB111-24BA-40B2-AE6C-E06B8BDBF146(a)microsoft.com... >i m newbie > > Can i shut down 64bit windows 7 by c# code? Google is your friend. From "shut down windows c#" I found this: http://www.geekpedia.com/code36_Shut-down-system-using-Csharp.html I would be very surprised if it didn't work for 64-bit Windows. Try it and let us know!
From: Arne Vajhøj on 4 May 2010 20:46 On 04-05-2010 12:33, Newbie wrote: > Can i shut down 64bit windows 7 by c# code? If you DllImport ExitWindowsEx then I guess that it should work fine. Arne
|
Pages: 1 Prev: Window service property OnCustomCommand Next: Using Reflextion |