Shut down the computer
hi all...
i wanna to develop an application to shut down the computer using C#....
i did it and call ExitWondowsEx API......it works fine in windows 98.... but in windows xp
i doesn't work....becauseof the priviliges..... does any one know the code in C# to handle the priviliges??....... or does any one know how to use Sytem.management to shut down the computer???
thx in advance

thed0ct0r84 reputationPosted Oct 31, 2003, 2:51 AM EST
mm_soledad17 reputationPosted Oct 31, 2003, 11:53 AM EST
tsuman_inRank #6,374 · 268 reputationPosted Oct 31, 2003, 1:26 PM EST
thed0ct0r84 reputationPosted Nov 2, 2003, 11:25 PM EST
tsuman_inRank #6,374 · 268 reputationPosted Nov 3, 2003, 12:18 PM EST
mm_soledad17 reputationPosted Nov 3, 2003, 2:09 PM EST
dip_2004_05142 reputationPosted Nov 4, 2003, 5:15 AM EST
warwulfi9 reputationPosted Nov 4, 2003, 5:19 AM EST