Click here to Skip to main content
13,451,465 members (44,725 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


151 bookmarked
Posted 16 Mar 2010

A Quick-Start Guide of Process Mandatory Level Checking and Self-elevation under UAC

This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


About the Author

Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.180318.3 | Last Updated 23 Mar 2010
Article Copyright 2010 by All-In-One Code Framework
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid