Is there a .NET equivalent to the win32 call AdjustTokenPriveleges()? I
need to enable SE_SHUTDOWN_NAME so that I can call ExitWindowsEx() Win32
function through a .NET wrapper class.

Signature
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
Dominick Baier [DevelopMentor] - 26 Jul 2005 23:24 GMT
Hello Ken,
no - you have to use P/Invoke for that API.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Is there a .NET equivalent to the win32 call AdjustTokenPriveleges()?
> I need to enable SE_SHUTDOWN_NAME so that I can call ExitWindowsEx()
[quoted text clipped - 3 lines]
> Domain = Diebold.com
> -----------------------------------