iA piece of internet history. Mentalis.org (2002–2011) was the .NET successor of AllAPI.net, by the same two brothers. We keep it online as it was. The code is from the early .NET years and is no longer maintained: please don't use the security libraries in new projects.
News  [Software]  Site

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Software License
Mentalis.org Buttons
 
Forums -> Security Library Forum
 
AccessDenied in windows controller  
by tzeen
posted on 2004/10/01

i got the following error after run the class windows controller.cs
access denied

the following code is beeing highlight :
if (OpenProcessToken(Process.GetCurrentProcess().Handle, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref tokenHandle) == 0)

any idea to solve this? thanks alot for help.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/